January 2021
Intermediate to advanced
560 pages
15h 13m
English
This chapter covers
I don’t think anybody tests enough of anything.
--James Gosling
In the previous chapters, we introduced testing software, began to explore testing with JUnit, and presented different test methodologies. Now that you are writing test cases, it is time to measure how good these tests are by using a test-coverage tool to report what code is executed by the tests and what code is not. This chapter will also discuss how to write code that is easy to test and finish by taking a first look at test-driven development (TDD).