ACM Home Page
Please provide us with feedback. Feedback
Helping students appreciate test-driven development (TDD)
Full text PdfPdf (159 KB)
Source Dynamic Languages Symposium archive
Companion to the 21st ACM SIGPLAN symposium on Object-oriented programming systems, languages, and applications table of contents
Portland, Oregon, USA
SESSION: OOPSLA educators' symposium chair's welcome table of contents
Pages: 907 - 913  
Year of Publication: 2006
ISBN:1-59593-491-X
Authors
Jaime Spacco  University of Maryland, College Park, Maryland
William Pugh  University of Maryland, College Park, Maryland
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 10,   Downloads (12 Months): 148,   Citation Count: 3
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1176617.1176743
What is a DOI?

ABSTRACT

Testing is an important part of the software development cycle that should be covered throughout the computer science curriculum. However, for students to truly learn the value of testing, they need to benefit from writing test cases for their own software.We report on our initial experiences teaching students to write test cases and evaluating student-written test suites, with an emphasis on our observation that, without proper incentive to write test cases early, many students will complete the programming assignment first and then add the build of their test cases afterwards. Based on these experiences, we propose new mechanisms to provide better incentives for students to write their test cases early.We also report on some of the limitations of code coverage as a tool for evaluating test suites, and finally conclude with a survey of related work on introducing testing into the undergraduate curriculum.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
2
 
3
S. H. Edwards. Using test-driven development in the classroom: Providing students with automatic, concrete feedback on perfomance. 2003.
 
4
R. L. Glass. Persistent software errors. IEEE Trans. Software Eng., 7(2):162--168, 1981.
5
 
6
7
8
 
9
 
10
B. Marick. How to misuse code coverage. In International Conference and Exposition on Testing Computer Software, June 1999.
11
 
12
M. Muller and O. Hagner. Experiment about test-first programming. Software, IEE Proceedings {see also Software Engineering, IEE Proceedings}, 149(5):131--136, 2002.


Collaborative Colleagues:
Jaime Spacco: colleagues
William Pugh: colleagues