~/talk

The unknowns of JUnit 5

Talkat Devoxx France 2022 · 2022-04-20..04-22· [testing, java]
links:none on file
slides:none on file

Shows concrete techniques: using csv source with headers and custom delimiters to create readable parameterized tests and businessy display names; replaces brittle base-test inheritance with JUnit 5 extensions + ParameterResolver to start/stop WireMock and inject server instances; demonstrates keeping parallelism opt-in by enabling the experimental engine in junit-platform.properties and annotating classes with a small wrapper over @Execution(CONCURRENT); builds working examples and runs them live, with dynamic tests and trade-offs (isolation vs effort) discussed.

AI-written summary · about

  1. 0:00Start
  2. 0:30What's the problem?
  3. 0:42Great stuff!
  4. 1:15Practical stuff
  5. 1:28Custom test case names
  6. 1:45Warning!
  7. 1:56Let's go!
  8. 11:39JUnit 5 parameterization
  9. 11:59Read the User Guide!
  10. 18:22Extensions are simple
  11. 18:56Pragmatic parallelization
  12. 19:30@Execution i
  13. 20:15Parallelize what you want!
  14. 20:55The pragmatic way
  15. 21:15Keep configuration in the code
  16. 24:16Start small
  17. 24:33That's (almost) all!
~/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.