Gradle

Unit Testing with JUnit 5

Stop reading printed output. Learn to set up JUnit 5, write tests that pass or fail on their own, test boundaries with a parameterized test, and avoid the pitfalls that make a green test lie.

November 27, 202612 minutes

Code Coverage with JaCoCo

A green build and a hundred percent line coverage still let a bug through. Learn what JaCoCo measures, how to read its report, how to enforce a rule, and what coverage can't tell you.

November 26, 202610 minutes

Mutation Testing with PIT

A fully covered, green test suite can still miss a one-symbol bug. PIT plants bugs on purpose and counts how many your tests notice. Learn to read the report and fix the survivors.

November 26, 20269 minutes

Test Doubles with Mockito

A service that calls a remote carrier is slow and flaky to test. Learn the five kinds of test double, how Mockito builds them, state versus interaction testing, and what not to mock.

November 27, 202611 minutes