~/talk

JUnit 5 — The New Testing Framework for Java and Platform for the JVM

Talkat Devoxx Belgium 2017 · 2017-11-06..11-10· [testing, java]
slides:none on file

JUnit 5 is presented as a JUnit Platform + Jupiter + Vintage modular system that runs on Java 8+ and already supports IDEs and build tools; it was crowdfunded for about €50,000 from ~500 backers. Key, concrete features: a launcher/test-engine API, new extension points (lifecycle callbacks, parameter resolution), assertThrows and assertTimeoutPreemptively assertions, constructor/method dependency injection, and parameterized and dynamic tests. Migration via a Vintage engine and demoed code conversions (timeouts, expected-exception to assertThrows) work with current Gradle/Maven/IDE support.

AI-written summary · about

  1. 0:00Intro
  2. 1:03Sam Brannen
  3. 4:02JUnit 4 Runner API
  4. 4:15JUnit 4... Rules... are meant to be broken
  5. 5:08JUnit Lambda-Crowdfunding Campaign
  6. 6:09Roadmap
  7. 9:59Launcher API
  8. 10:49TestEngine API
  9. 12:53IDEs and Build Tools
  10. 13:53JUnit Jupiter - Extension Model
  11. 15:27JUnit Jupiter - Programming Model
  12. 16:26Annotations
  13. 17:35JUnit 4 Rule Migration Support
  14. 18:28Assertions
  15. 28:48Dependency Injection
  16. 30:30Conditional Test Execution
  17. 37:37Interface Default Methods
  18. 39:35Nested Test Classes
  19. 42:16Parameterized Tests
  20. 43:15Argument Conversion
  21. 46:32Dynamic Tests in Action
  22. 50:02Spring Support for JUnit Jupiter
  23. 50:31Spring Resources
~/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.