Registry / testing / junit-bom

junit-bom

JSON →
library6.1.0javamavenunverified

Bill of Materials POM to manage consistent versions of JUnit artifacts in a project.

<dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>6.1.0</version> </dependency>
INSTALL
IMPORT
SIG · JUNIT-BOM
J
junit-bom
testingjavav6.1.0
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 using the BOM-managed version.

import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertTrue; public class ExampleTest { @Test void testExample() { assertTrue(true); } }
Debug
Known issues
gotchaThe BOM does not include transitive dependencies; you must still declare each JUnit artifact explicitly.
fix
Add individual JUnit dependencies like org.junit.jupiter:junit-jupiter-api in your build file.
affects: all
Upgrade
Version history
6.1.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
junit-bom — mvn dependency:get junit-bom · libregistry