Spock vs JUnit 5 - Clash of the Titans
summary
Compares Spock and JUnit 5 for Java testing by examining specific feature areas such as compact syntax, parameterized tests, and other practical testing capabilities. Focuses on how Spock’s advantages from the JUnit 4 era stack up against JUnit 5, which was redesigned for Java 8, to help decide whether Spock remains preferable in 2018.
AI-written summary · about
chapters (12)
- 0:00Start
- 3:12Unit testing in Java historical outline
- 6:08Development
- 8:57Tool support
- 15:24Exception testing - JUnit 5
- 16:43Exception testing Soock
- 18:17Conditional test execution in general
- 30:17Parameterized tests. JUnit 5
- 32:28Parameterized tests - Spock
- 33:21Parameterized tests. Spock
- 35:45Migration to JUnit 5 (from JUnit 4)
- 39:22Summary - features comparison
related talks
44mSpock vs JUnit 5 - Clash of the Titans
47mSpock vs JUnit 5 - Clash of the Titans
49mWhat Mr. Spock would possibly say about modern unit testing
45mWhy Use Spock Instead of JUnit Mockito for Your Java Tests
29mWhy I prefer Spock over JUnit
51mSpock Framework: The Ultimate Framework for Testing Your Java Applications
45mWhat to Expect from Spock 2?
46mEasy testing with Spock
