Registry / testing / junit-jupiter

junit-jupiter

JSON →
library6.0.3javamavenunverified

JUnit 5 programming model for writing tests with annotations and assertions.

<dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>6.0.3</version> </dependency>
INSTALL
IMPORT
SIG · JUNIT-JUPITER
J
junit-jupiter
testingjavav6.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Test
org.junit.jupiter.api.Test

Minimal JUnit 5 test method.

import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class ExampleTest { @Test void testAddition() { assertEquals(2, 1 + 1); } }
Debug
Known issues
breakingJUnit Jupiter requires Java 8 or later; older versions use JUnit 4.
fix
Ensure Java version >= 8; use junit-jupiter-api and junit-jupiter-engine.
affects: >=5.0
Upgrade
Version history
6.0.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
junit-jupiter — mvn dependency:get junit-jupiter · libregistry