Abstract
Testing has always been an important part of software development, but in recent years it has become more of a programmer activity, particularly with the growth in popularity of agile methods. Programmers are expected to be able to write and run unit tests against their code. A unit test is designed to test a single unit of code, for example, a single class, or part of a class.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag London Limited
About this chapter
Cite this chapter
Parsons, D. (2012). Unit Testing with JUnit. In: Foundational Java. Springer, London. https://doi.org/10.1007/978-1-4471-2479-5_10
Download citation
DOI: https://doi.org/10.1007/978-1-4471-2479-5_10
Published:
Publisher Name: Springer, London
Print ISBN: 978-1-4471-2478-8
Online ISBN: 978-1-4471-2479-5
eBook Packages: Computer ScienceComputer Science (R0)