Recommended Citation
Postprint version. Published in Proceedings of the 40th ACM Technical Symposium on Computer Science Education, March 1, 2009, pages 148-152.
The definitive version is available at https://doi.org/10.1145/1508865.1508921.
Abstract
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 reinforced 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.
Disciplines
Computer Sciences
Copyright
2009 ACM.
Publisher statement
This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in Proceedings of the 40th ACM Technical Symposium on Computer Science Education.
URL: https://digitalcommons.calpoly.edu/csse_fac/42