~/organiser

Welcome to JUnit 5

Organiserat Spring I/O 2018 · 2018-05-24..05-25· [testing, java]
slides:none on file

JUnit 5 (released Sept; baseline Java 8) modernizes testing with a Jupiter programming model, modular jars (vintage, platform, jupiter), and full backward compatibility so existing JUnit 4 suites run without rewriting. Key, practical features demonstrated: assertThrows and assertAll with lambdas, constructor/method injection and programmatic extensions (replace RunWith/Rules), richer parameterized tests (methodSource, CSV, externalized providers, argument aggregators), Testcontainers + Spring Boot demos, and Maven/Gradle tooling notes (Surefire/Failsafe config, Surefire 2.21+, Gradle 4.6+).

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Break
  3. 5:00Advantages of automated testing
  4. 6:46Why JUnit 5
  5. 8:40Extension Points
  6. 10:28Modules
  7. 12:11Testing
  8. 14:38Writing Tests
  9. 20:28Dependency Injection
  10. 34:06Test Interfaces
  11. 37:56Filtering Disabling Tests
  12. 45:21Tool Support
~/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.