JUnit 5

In this talk, I introduce JUnit 5 from basic tests to more advanced features like nesting, parameterization, parallelization, and extensions. We also discuss its architecture and compatibility with JUnit 4.

Java's most ubiquitous library got an update! This talk...

  • shows you how to write tests with JUnit 5
  • walks you through the changes compared to JUnit 4
  • expands on nested, parameterized, parallel and other kinds of tests
  • tells you how to build your own JUnit 5 extensions
  • presents the new architecture
  • discusses compatibility with previous JUnit versions, IDEs, and other testing tools

Be careful, though: You might end up with an urge to start using it right away.

Slides

Here's the current version of the slides.

I also embedded them below. If they're focussed, you can navigate with arrow keys or swipes (they're two-dimensional, with chapters on the horizontal axis and chapter content layed out vertically). Use Page Up/Down for linearized order and ? for more shortcuts.

Video

Here's a good recording of the talk. I hope you'll like it.

Always embed videos

(and give me a cookie to remember - privacy policy)

Watch on YouTube

Past Presentations

I gave this talk a few times before. See below for links to slides (as they were at that very event), videos, and other information.

2019

2017

2016

Thu, Nov 10th, 18:00 Europe/StockholmJUnit 5
at JVM Group Stockholm

Stockholm, Regeringsgatan 20