Series
Testing and TDD for Java
2 episodes, in order. The code builds on itself, so following from the start leaves you with a complete system rather than a pile of samples.
-
TDD for Java: The Step Everyone Skips →
A test that has never failed has never proved anything. The cycle on a real refund rule, the evidence with both halves attached, and the objection a sceptic raises at minute three answered honestly.
-
JUnit vs AssertJ vs Hamcrest: What the Failure Tells You →
Three libraries on your classpath all export a method called assertThat, and you almost certainly never chose between them. Most of the time it does not matter. This is about the times it does.