Chapter 4

Test Ideas and Heuristics

So far in this book, we have written unit tests at exactly one point within the software development process: upon realizing a new requirement. However, there are more opportunities to write, modify, or edit tests:

image Once a task is completed, the application code is verified for refactoring possibilities and the test code is verified for quality and sufficient coverage.

image If an error occurs in subsequent development phases—during functional tests or after shipment—we need to write a unit test or expand an existing ...

Get Unit Testing in Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.