~/talk

JUnit 5 — New Opportunities for Testing on the JVM

Talkat SpringOne Platform 2017 · 2017-12-04..12-07· [testing, java]
slides:none on file

Shows JUnit 5 as a rewritten, modular platform (Platform, Jupiter, Vintage) released GA in 2017 with 5.0.1/5.0.2 followups, requiring Java 8+, plus launcher, test engine API and console launcher that let Gradle/Maven/IDEs run multiple engines (JUnit 3/4 via Vintage and new engines for Scala/Kotlin). Demonstrates concrete features: parameterized tests, dependency injection into constructors and lifecycle methods, dynamic tests via lambdas, tagging, custom display names (emoji OK), assertThrows/assertTimeout replacements for rules, and tight integration with Spring Framework 5.

AI-written summary · about

  1. 0:00Intro
  2. 0:15Sam Brannen
  3. 1:52Impetus for Change
  4. 2:29JUnit 4 Runner API
  5. 2:47JUnit 4... Rules... are meant to be broken
  6. 3:31JUnit Lambda - Crowdfunding Campaign
  7. 4:09Roadmap
  8. 4:32JUnit 5-in a Nutshell
  9. 5:21JUnit 5 - Java Versions
  10. 8:03Launcher API
  11. 9:05TestEngine API
  12. 10:03Third-party TestEngines
  13. 11:42IDEs and Build Tools
  14. 13:14JUnit Jupiter - Extension Model
  15. 15:32JUnit Jupiter - Programming Model
  16. 16:32Annotations
  17. 17:47JUnit 4 Rule Migration Support
  18. 18:31Assertions
  19. 27:40Custom Tags
  20. 28:08Composed Tags
  21. 28:43Test Names
  22. 29:09Dependency Injection
  23. 31:00Conditional Test Execution
  24. 37:14Interface Default Methods
  25. 39:05Nested Test Classes
  26. 40:58Repeated Tests
  27. 42:55Argument Conversion
  28. 46:27Dynamic Tests in Action
  29. 47:53What's Missing?
  30. 49:07Spring Support for JUnit Jupiter
  31. 50:27Configuring JUnit Jupiter with Spring
  32. 59:03Spring Boot 1.4+ & JUnit 5 - Custom Config
  33. 59:29Spring Boot 1.4+ & JUnit 5 - MockMvc Test
~/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.