Abstract
Software of high quality is a major concern in teaching programming: simply making any program that fulfills the requirements is not enough. Yet the way teachers often state exercises tends to make the students focus more on functionality requirements and deadlines than on keeping the program quality high. This chapter discusses some concrete teaching guidelines that help in keeping the learning focus on quality and reports on our experiences in applying them. It furthermore presents an important observation relating to the use of test-driven development as a process that focus on high quality, namely that it tend to improve also the flexibility and reusability of the production code. This issue is presented and argued by a concrete development example.
Parts of the present chapter have been published in early form in a paper entitled Systematic Testing should not be a Topic in the Computer Science Curriculum!. In Proceedings of 8th Annual Conference on Innovation and Technology in Computer Science Education, Thessaloniki, Greece, 2003.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Christensen, H.B. (2008). Experiences with a Focus on Testing in Teaching. In: Bennedsen, J., Caspersen, M.E., Kölling, M. (eds) Reflections on the Teaching of Programming. Lecture Notes in Computer Science, vol 4821. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-77934-6_13
Download citation
DOI: https://doi.org/10.1007/978-3-540-77934-6_13
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-77933-9
Online ISBN: 978-3-540-77934-6
eBook Packages: Computer ScienceComputer Science (R0)