Skip to content
Book Open access

Integrating Behavior-Driven Development into Algorithms Courses: A Worked-Out Example Scaffolding Approach

Nov 2026 · Proceedings of the 2nd ACM Virtual Global Computing Education Conference V.1 · 0 citations · 22 references

Abstract

Integrating software testing into computing education has drawn increasing interest from both researchers and practitioners in recent years, fueled by the emergence of more robust testing paradigms and their growing adoption in the software industry. Prior studies on this topic primarily focused on integrating testing into entry-level computer science (CS) courses. While these studies achieved some success, they are limited by their over-reliance on post-surveys for measuring impact and the lack of investigation into tool-agnostic pedagogical approaches that could effectively facilitate testing integration. To address these limitations, we investigated integrating behavior-driven development (BDD) into an intermediate-level algorithms course, alone or additionally with worked-out examples as instructional scaffolds. BDD is a testing paradigm that emphasizes testing code behavior from the user's perspective and has been widely adopted in industry due to its flexibility. Our results demonstrate that BDD can be successfully integrated into CS courses when worked-out examples are used as scaffolds to guide students in writing test cases. These findings contribute new insights into effective, tool-agnostic pedagogical strategies for integrating testing into the CS curriculum.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.