~/talk

JUnit 5

Talkat Devoxx US 2017 · 2017-03-21..03-23· [testing]
slides:none on file

JUnit 5 splits testing into a Jupiter API for writing tests, a platform/launcher for discovery, and engines like the vintage engine to run legacy JUnit4 code; assertions change (failure message comes last, new assertThrows) and annotations rename to clearer names like @BeforeAll/@BeforeEach and @Disabled. Extensions register via @ExtendWith to provide parameter resolution (example: inject a temporary Path and clean it up), conditional test execution, nested and dynamic tests, tags, and Gradle/Maven/IDE support; roadmap targets parameterized and repeated tests in M4 and Java 9 compatibility next.

AI-written summary · about

  1. 0:00Start
  2. 15:52Meta Annotations
  3. 29:59Test Execution
  4. 31:05Compatibility
  5. 45:56Getting Started
  6. 46:20Wanted: Feedback!
~/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.