Skip to main content

Unit Testing

  • Chapter
  • First Online:
Book cover Introduction to Software Design with Java
  • 7399 Accesses

Abstract

Unit testing is a practice wherein we automatically execute our code to check that it does what we think it should. With unit testing, we can build a possibly large collection of tests that can quickly be executed, for instance every time we change the code, to make sure everything that worked still does.

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

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

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Robillard, M.P. (2019). Unit Testing. In: Introduction to Software Design with Java. Springer, Cham. https://doi.org/10.1007/978-3-030-24094-3_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-24094-3_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-24093-6

  • Online ISBN: 978-3-030-24094-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics