Catching Up With JUnit
summary
JUnit 5.12 adds Open Test Reporting output with captured stdout/stderr, file attachments and a self-contained HTML report generated by the reporting CLI (demonstrated via JBang) that archives CI artifacts and embeds screenshots; 5.13 introduces parameterized test classes (field or constructor injection, converters, before/after parameterized lifecycle methods, nested + cartesian combinations, watch out for mutable parameters); the platform now reports discovery issues as configurable warnings/errors so malformed tests no longer silently disappear; JUnit 6 targets Java 17 baseline and Kotlin 2.x.
AI-written summary · about
chapters (7)
- 0:00JUnit introduction
- 1:48JUnit history and sponsors
- 3:56JUnit 5.13 and 6.0 updates
- 6:49Better test reports
- 24:14Parameterized test classes
- 45:54Test discovery issues
- 54:02JUnit 6.0 roadmap








