~/talk

JUnit 5 extensions: from conditional test execution to test templates

Talkat Joker 2017 · 2017-11-03..11-04· [testing]
slides:none on file

JUnit 5 ships a new extension model that actually implements conditional execution via system property (extensions evaluate runtime annotations and return enabled/disabled with reasons), lifecycle callbacks that start and stop Docker containers and persist the container ID in a namespaced store (container start/stop stored by namespace), parameter resolvers that inject Docker network settings and TestReporter, custom argument providers reading JSON via Jackson, and test templates that run randomized checks (example default 100 randomized invocations) to find counterexamples — all demos run in IntelliJ/Maven and the Docker examples start, test, and clean up successfully.

AI-written summary · about

  1. 0:00JUnit 5 release news
  2. 1:06JUnit 5 modules overview
  3. 2:29Extension model introduction
  4. 4:54Conditional test execution demo
  5. 9:39Extension context details
  6. 11:03Global extension registration
  7. 13:34Reusable test setup
  8. 18:13Extension data storage
  9. 21:05Parameter resolver demo
  10. 24:12Dynamic ports with extensions
  11. 28:48Parameterized tests overview
  12. 30:56Custom arguments source
  13. 34:10Test templates introduction
  14. 35:17Property-based testing
  15. 41:46Test templates use cases
  16. 43:13Extension support tools
  17. 43:33JUnit 5 extensibility summary
  18. 44:57Resources and feedback
  19. 46:07Q&A Docker extension
  20. 47:47Q&A test execution model
  21. 48:51Q&A custom test engines
  22. 50:21Q&A parallel execution
  23. 51:28Q&A scenario tests
  24. 52:54Q&A Java 9 support
  25. 53:57Q&A Killian project
~/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.