Registry / testing / junit-platform-engine

junit-platform-engine

JSON →
library6.0.3javamavenunverified

Module "junit-platform-engine" of JUnit provides the API for test engines to discover and execute tests.

<dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-engine</artifactId> <version>6.0.3</version> </dependency>
INSTALL
IMPORT
SIG · JUNIT-PLATFORM-ENG
J
junit-platform-engine
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.

TestEngine
org.junit.platform.engine.TestEngine

Discovers tests using the JUnit Platform Launcher API.

import org.junit.platform.engine.TestEngine; import org.junit.platform.engine.discovery.DiscoverySelectors; import org.junit.platform.launcher.Launcher; import org.junit.platform.launcher.core.LauncherFactory; public class Quickstart { public static void main(String[] args) { Launcher launcher = LauncherFactory.create(); launcher.discover(DiscoverySelectors.selectClass(MyTest.class)); System.out.println("Test discovery completed"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.0.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
junit-platform-engine — mvn dependency:get junit-platform-engine · libregistry