Java Test Automation / Quiz

JUnit 5: Platform, Jupiter, and New Names

Three sub-projects, renamed lifecycle annotations, a static @BeforeAll, and the assertEquals argument order that bites TestNG veterans.

Difficulty
Easy
Format
Quiz
Points
100
Estimate
8 min

// MISSION BRIEF

Your Mission

JUnit 5 is not "JUnit 4 plus one": it is three sub-projects, a renamed lifecycle, lambda-powered assertions, and an extension model. Java testers move between JUnit and TestNG constantly, and the differences are exactly where bugs and interview questions live.

This quiz covers the architecture, the annotation renames, and the argument-order trap in assertEquals.

// FIRST CONTACT

Battle teaser

JUnit 5 is composed of:

  1. AA single junit5.jar
  2. BJupiter plus Mockito
  3. CPlatform (the launcher/engine foundation), Jupiter (the new programming model + engine), and Vintage (runs JUnit 3/4 tests on the platform)
  4. DCore, UI, and Enterprise editions
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

javajunit5jupiter