Skip to main content

Unit Testing beyond a Bar in Green and Red

  • Conference paper
  • First Online:
Book cover Extreme Programming and Agile Processes in Software Engineering (XP 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2675))

Abstract

The actual and appealing objective of XP’s approach to unit testing is to improve quality by avoiding errors beforehand rather than to find and fix bugs afterwards. Conventional testing, on the contrary, focuses on a posteriori analysis to find errors and issues that should be corrected. Both approaches have their advantages and drawbacks, and both are valuable and necessary. This paper describes how we combined both approaches by extending our test management environment TEMPPO for unit testing with JUnit to include testers in early unit testing activities.

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

References

  1. Beck, K.: eXtreme Programming explained: Embrace Change. Addison-Wesley, 2000.

    Google Scholar 

  2. Cunningham & Cunn., Inc.: Extreme Programming Roadmap at WikiWiki. (http://c2.com/cgi/wiki?UnitInUnitTestIsntTheUnitYouAreThinkingOf)

  3. Hofman, A.: Test Management in XP Environments with TEMPPO. Technical Report, SCCH, 2001.

    Google Scholar 

  4. JUnit.org: The JUnit Tool. http://www.junit.org

  5. Link, J., Fröhlich, P.: Unit Tests mit Java: Der Test-First-Ansatz. dpunkt, 2002.

    Google Scholar 

  6. Moore, I.: Jester-a JUnit test tester. in Proc. XP2001, Cagliari, Italy, May 2001.

    Google Scholar 

  7. Myers, G.J.: The Art of Software Testing. Wiley, 1979.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ramler, R., Czech, G., Schlosser, D. (2003). Unit Testing beyond a Bar in Green and Red. In: Marchesi, M., Succi, G. (eds) Extreme Programming and Agile Processes in Software Engineering. XP 2003. Lecture Notes in Computer Science, vol 2675. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44870-5_39

Download citation

  • DOI: https://doi.org/10.1007/3-540-44870-5_39

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40215-2

  • Online ISBN: 978-3-540-44870-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics