~/talk

JUnit 5: The Next Step in Automated Testing for Java

Talkat Oracle Code One 2018 · 2018-10-22..10-25· [testing, java]
slides:none on file

JUnit 5 targets a Java 8 baseline and ships as modular Platform/Vintage/Jupiter artifacts, so existing JUnit 4 suites run under Vintage while Jupiter provides the new programming model. Migration includes a junit-jupiter-migration-support dependency to keep rules/runners working; a demo shows a suite passing once that migration artifact is added. Key features shown are assertAll (multiple failures reported), the extension model (replaces rules/runners, supports Mockito/Testcontainers injection), parameterized/dynamic tests, CSV/aggregators, conditional disable, and parallel execution added in 5.3.

AI-written summary · about

  1. 0:00Introduction
  2. 0:54IBM
  3. 1:38Why change
  4. 2:59Modularity
  5. 3:36Backward Compatibility
  6. 7:08Migration Requirements
  7. 8:09Upgrading to JUnit 5
  8. 14:32Language Changes
  9. 15:11Extension Framework
  10. 19:08Dependency Injection
  11. 22:59Parameterised Tests
  12. 28:10Repeated Tests
  13. 31:18Test Interfaces
  14. 34:55Disable Filtering
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.