Skip to main content

Experiences with a Focus on Testing in Teaching

  • Chapter
Book cover Reflections on the Teaching of Programming

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4821))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Editor information

Jens Bennedsen Michael E. Caspersen Michael Kölling

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics