Deep Dive into JUnit 5 by Sam Brannen

Take a Deep Dive into JUnit 5 with core committer Sam Brannen! Over the last decade a lot has happened in the world of Java and testing, but JUnit 4 hasn’t kept up. Now JUnit 5 is here to help shape the future of testing on the JVM with a focus on Java 8, extensibility, and a modern programming API for testing in Java. And well, the JUnit Platform isn’t just about Java anymore. Third parties are already developing TestEngines for Scala, Groovy, Kotlin, etc. This session starts off with an overview of the inspiration for & architecture of JUnit 5, from launchers to test engines. Sam will then take the audience on a live coding tour, highlighting support for tagging, custom display names, dependency injection, conditional test execution, lambda expressions for assertions, assumptions, & dynamic tests, and implementing tests via interface default methods (., testing traits). Next, Sam will present the new extension model in JUnit 5, discussing how to author and regis
Back to Top