After 10 years of stagnation in unit testing the JVM, there are finally some competitors vying to unseat JUnit 4's position atop the unit testing throne. Among these are newcomers JUnit 5 and Spek, as well as the more established Spock Framework. This presentation will cover the strengths and weaknesses of each of these frameworks while testing the same production code.
A large part of the differences in the three frameworks are the backing programming languages. The presentation will showcase how it is possible to test the same production code with Kotlin (Spek), Groovy (Spock), or Java (JUnit 5).
Finally, the presentation will cover how to start writing tests with these new frameworks in a legacy application.