Moving Forward with JUnit 5
summary
JUnit 5 is a complete rewrite (no code reused) divided into three parts: Platform (TestEngine + Launcher for IDEs/Gradle), Jupiter (new API with annotations), and Vintage (runs JUnit 3/4). It adds dynamic test generation (DynamicTest factories), richer parameterized tests (CSV source and multiple value types), and a unified extension model that replaces runners/rules. Android integration exists via the third‑party Android JUnit5 Gradle plugin; instrumentation support is experimental and requires API 26+.
AI-written summary · about
chapters (11)
- 0:00JUnit 5 introduction
- 2:57Why JUnit 5 rewritten
- 5:47JUnit 4 coupling issues
- 7:31JUnit 5 modular architecture
- 12:32Jupiter annotations upgrades
- 13:37Display names nested tests
- 16:26Dynamic parameterized tests
- 20:05Jupiter extension model
- 21:31Android JUnit 5 integration
- 23:18Android instrumentation tests
- 26:22JUnit 5 future outlook
related talks
35mJunit5: the next gen of testing, don't stay behind
51mJUnit 5 — The New Testing Framework for Java and Platform for the JVM
01h 06mJUnit 5 — New Opportunities for Testing on the JVM
48mJUnit 5: New Opportunities for Testing on the JVM
51mJUnit 5
51mJUnit 5: what's new and what's coming
44mJUnit 5: The Next Step in Automated Testing for Java
51mWelcome to JUnit 5
