Spock vs JUnit 5 - Clash of the Titans
summary
Spock remains the baseline for readable, expressive tests while JUnit 5 ships a Java 8‑native rewrite that closes many gaps; the talk compares Compact syntax and parameterised tests, shows which framework needs extra libraries for mocking or extensions, cites “10 years after JUnit 4” as context, and measures migration pain by concrete differences in setup, annotations and IDE/runtime support. Expect a side‑by‑side of Spock vs JUnit 5 with practical compatibility and productivity takeaways.
AI-written summary · about
chapters (6)
- 0:00Wprowadzenie do tematu
- 3:00Porównanie Spock i JUnit 5
- 15:00Przykłady testów jednostkowych
- 27:00Zaawansowane funkcje testowania
- 39:00Podsumowanie i wnioski
- 46:00Pytania i odpowiedzi
related talks
44mSpock vs JUnit 5 - Clash of the Titans
42mSpock vs JUnit 5 - Clash of the Titans
49mWhat Mr. Spock would possibly say about modern unit testing
29mWhy I prefer Spock over JUnit
45mWhy Use Spock Instead of JUnit Mockito for Your Java Tests
51mSpock Framework: The Ultimate Framework for Testing Your Java Applications
45mWhat to Expect from Spock 2?
01h 12mUnit Tests as a Specification
