~/talk

Testing with Spring and JUnit 5

Talkat Spring I/O 2022 · 2022-05-26..05-27· [testing]
slides:none on file

Coverage of JUnit 5.8→5.9 and Spring testing shows concrete features and demos: the JUnit suite engine included in console launcher and unique-id rerun support, new tempdir cleanup modes, method source accepts Spring-injected args (demo returns beans via Spring context for parameterized tests and it runs), auto-closable parameter arguments, soft assertions for MockMvc/WebTestClient, and the new Open Test Reporting XML. Spring adds nested-test config inheritance, an application-events recorder, improved CSV/text-block sources, and module-path scanning fixes for Maven patched modules.

AI-written summary · about

  1. 0:00Intro
  2. 0:15Sam Brannen
  3. 0:48JUnit Jupiter Support in Spring
  4. 1:31Major Features in JUnit Platform 1.8
  5. 4:23Test Class Execution Order
  6. 8:46Named API
  7. 10:00Example: Named Dynamic Tests
  8. 11:45Small Enhancements in JUnit Jupiter 5.8.x
  9. 14:44JUnit Platform 1.9 M1
  10. 17:41JUnit Jupiter 5.9 M1
  11. 25:50New in Spring Framework 5.3.x (1/2)
  12. 29:15Tip: Use Text Blocks... Where you can
  13. 32:09Example: ApplicationEvents
  14. 35:15Example: MockMvc default response character encoding
  15. 36:13Testing Enhancements in Spring 6.0
~/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.