Skip to content
Flag of Europe
Made in the European Union · Independently built · Released under EUPL 1.2

JUnit 5 & 6

Modern testing with JUnit Jupiter — expressive, parameterized and extensible tests — plus a clean path onto the JUnit 6 generation. A code-first training that leaves your team writing tests worth trusting.

Hands-on labs 1–2 days On-site · live-online EN / DE Everyday Java required

What your team can do after

Concrete, transferable skills — the Jupiter API used the way it was meant to be.

Agenda

Six modules, each ending in a hands-on lab — written, run and refactored live.

  1. Jupiter fundamentals Test structure, assertions, assumptions, the JUnit Platform architecture.
    Lab: write a first well-structured Jupiter suite.
  2. Lifecycle & organisation Lifecycle callbacks, instance lifecycle, `@Nested`, `@Tag`, display names.
    Lab: restructure a flat suite into readable nests.
  3. Parameterized & dynamic tests Argument sources, converters, aggregators; runtime-generated dynamic tests.
    Lab: collapse duplicated tests into parameterized cases.
  4. The extension model Writing extensions, parameter resolvers, reusable test infrastructure.
    Lab: build an extension that replaces a JUnit 4 rule.
  5. Migrating from JUnit 4 The Vintage engine, coexistence, and mapping runners/rules to Jupiter.
    Lab: migrate a JUnit 4 class and retire its rules.
  6. Onto JUnit 6 The JUnit 6 generation: raised Java baseline, API/platform cleanups, build setup and CI.
    Lab: upgrade a JUnit 5 suite and fix the fallout.

Who it's for

Java developers and teams who want tests that are expressive, maintainable and current — whether starting fresh on Jupiter, migrating off JUnit 4, or upgrading to the JUnit 6 generation.

Prerequisite: everyday Java; no prior JUnit 5 experience required. Pairs naturally with Mutation Testing.

Logistics

📋 Course details

Formats
On-site · live-online · on-demand (in preparation)
Price
On request — tailored to each client
Duration
Typically 1–2 days — depth and agenda tailored to your team
Languages
English or German
Group size
Private team cohorts or individual seats on scheduled dates
Trainer
Sven Ruppert, author of jCustos — long-time Java developer and speaker
Testing & Quality track: pair it with Mutation Testing — write the tests here, then prove they catch real bugs there. How to book: request the course with team size, format and dates; we tailor the agenda and send a proposal.