Implications of integrating test-driven development into CS1/CS2 curricula

Chetan Desai, David S. Janzen, John Clements
2009 Proceedings of the 40th ACM technical symposium on Computer science education - SIGCSE '09  
Many academic and industry professionals have called for more testing in computer science curricula. Test-driven development (TDD) has been proposed as a solution to improve testing in academia. This paper demonstrates how TDD can be integrated into existing course materials without reducing topic coverage. Two controlled experiments were conducted in a CS1/CS2 course in Winter 2008. Following a test-driven learning approach, unit testing was introduced at the beginning of the course and
more » ... ced through example. Results indicate that while student work loads may increase with the incorporation of TDD, students are able to successfully develop unit tests while learning to program.
doi:10.1145/1508865.1508921 dblp:conf/sigcse/DesaiJC09 fatcat:pbdl5uz2jncddktmhhegvmpf5u