Test-driven learning
David S. Janzen, Hossein Saiedian · ACM SIGCSE Technical Symposium on Computer Science Education (SIGCSE) · 2006
Test-driven learning (TDL) is an approach to teaching computer programming that involves introducing and exploring new concepts through automated unit tests. TDL offers the potential of teaching testing for free, of improving programmer comprehension and ability, and of improving software quality both in terms of design quality and reduced defect density.This paper introduces test-driven learning as a pedagogical tool. It will provide examples of how TDL can be incorporated at multiple levels in computer science and software engineering curriculum for beginning through professional programmers. In addition, the relationships between TDL and test-driven development will be explored.Initial evidence indicates that TDL can improve student comprehension of new concepts while improving their testing skills with no additional instruction time. In addition, by learning to construct programs in a test-driven manner, students are expected to be more likely to develop their own code with a test-driven approach, likely resulting in improved software designs and quality.
Cited by 77 works. doi:10.1145/1121341.1121419 Open-access PDF
Authors
References
- Applying 'design by contract'
- Test-Driven Development by Example
- Test Driven Development: By Example
- Test-driven development concepts, taxonomy, and future direction
- Guidelines for teaching object orientation with Java
- On the effectiveness of the test-first approach to programming
- Rethinking computer science education from a test-first perspective
- Computing curricula 2001
- Role playing in an object-oriented world
- An experience in integrating automated unit testing practices in an introductory programming course