~/talk

JUnit 5: Overview & New Features

Talkat Java Day Minsk 2017 · on Saturday, 2017-06-03· [testing]
links:none on file
slides:none on file

Overview lists concrete changes: JUnit 5 requires Java 8 and ships modularly with a vintage engine runs JUnit 4 tests so existing suites still execute. Annotations move packages and allow non-public tests, @DisplayName accepts Unicode/emoji, @Nested groups tests. New Extension API replaces Rules/Runners with extension points like TestInstancePostProcessor and ParameterResolver; dynamic tests, repeated tests, and parameterized tests live in junit-jupiter-params; assertions add assertAll and improved assertTimeout/assertThrows that return the thrown exception.

AI-written summary · about

  1. 0:00Introduction to JUnit 5
  2. 1:07JUnit 5 release status
  3. 2:14Requirements and installation
  4. 3:39New annotations overview
  5. 5:01Testing non-public methods
  6. 6:48Interface contracts testing
  7. 7:09Tagging tests with @Tag
  8. 8:11Custom test display names
  9. 9:15Nested test groups
  10. 11:23JUnit 5 extension model
  11. 13:52Extension points explained
  12. 16:04Dynamic tests
  13. 18:10Repeated and parameterized tests
  14. 20:36Parameterized tests deep dive
  15. 23:47Custom argument sources
  16. 24:49Type conversion in tests
  17. 25:34Test naming templates
  18. 26:19Conditional test execution
  19. 27:04New assertion features
  20. 28:26Timeout and exception checks
  21. 30:11Migration from JUnit 4
  22. 31:16Modular architecture
  23. 32:41Summary and key benefits
  24. 33:21Resources and next steps
  25. 34:26Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.