Module 'junit-jupiter-api' of JUnit provides the core annotations and interfaces for writing tests in JUnit 5.
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>6.1.0</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
A minimal JUnit 5 test using the @Test annotation.
Add junit-jupiter-engine and junit-vintage-engine dependencies if you need to run JUnit 4 tests alongside JUnit 5.
No dependency data recorded yet.