Skip to main content
Article
Testing first: emphasizing testing in early programming courses
Technical Symposium on Computer Science Education (2005)
  • Will Marrero, DePaul University
  • Amber Settle, DePaul University
Abstract
The complexity of languages like Java and C++ can make introductory programming classes in these languages extremely challenging for many students. Part of the complexity comes from the large number of concepts and language features that students are expected to learn while having little time for adequate practice or examples. A second source of difficulty is the emphasis that object-oriented programming places on abstraction. We believe that by placing a larger emphasis on testing in programming assignments in these introductory courses, students have an opportunity for extra practice with the language, and this affords them a gentler transition into the abstract thinking needed for programming. In this paper we describe how we emphasized testing in introductory programming assignments by requiring that students design and implement tests before starting on the program itself. We also provide some preliminary results and student reactions.
Keywords
  • CS1,
  • CS2,
  • TDD,
  • testing
Publication Date
June 27, 2005
DOI
10.1145/1067445.1067451
Publisher Statement
http://facweb.cdm.depaul.edu/asettle/research/papers/iticse2005.pdf
Citation Information
Will Marrero and Amber Settle. "Testing first: emphasizing testing in early programming courses" Technical Symposium on Computer Science Education Vol. 37 Iss. 3 (2005) p. 4 - 8
Available at: http://works.bepress.com/asettle/54/