~/talk

Spock vs JUnit 5 - Clash of the Titans

Talkat Jfokus 2019 · 2019-02-04..02-06· [java]
speakerdeck:szpak
slides:none on file

Compares Spock and JUnit 5 by examining specific features such as compact syntax, parameterized tests and other testing conveniences, assessing how JUnit 5 (a Java 8-optimized, from-scratch rewrite) stacks up against Spock. Evaluates whether Spock’s advantages remain significant or if JUnit 5 closes the gap, based on a 2018/2019 comparison.

AI-written summary · about

  1. 0:00Intro
  2. 1:46Presentation plan
  3. 2:22Unit testing in Java - historical outline
  4. 5:19Development
  5. 6:37Tool support
  6. 9:25Test structure - BDD-like specification - in general mindbok
  7. 11:24Test structure - Spock
  8. 14:19Exception testing - JUnit 5
  9. 15:14Exception testing - Spock
  10. 19:20Conditional test execution - JUnit
  11. 22:49Conditional test execution - Spock
  12. 25:57Mocking - JUnit 5 • no built-in mocking framework Mockito - first port of call
  13. 27:40Mocking - Spock • built-in mocking subsystem
  14. 31:05Parameterized tests - JUnit 5
  15. 33:46Parameterized tests - Spock
  16. 41:44Summary - Features comparison
  17. 42:24Summary - the choice is yours
~/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.