How This Book Is Organized
This book is divided into four main parts:
-
Unit Testing Foundations: Learn JUnit basics by writing tests for a small example and then for a number of common code situations. Learn about testing code with challenging dependencies using test doubles. Dig into code coverage, testing multithreaded code, and integration testing topics.
-
Mastering JUnit with "E"s: Examine outcomes by using JUnit’s many assertion forms, Establish organization in your tests using lifecycle methods, nested classes, and parameterized tests, and Execute appropriate subsets of tests with tags and other mechanisms.
-
Increasing ROI—Unit Testing and Design: Focus on the relevance of design to unit testing and vice versa. Learn to refactor in the small, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access