Registry / testing / junit-platform-testkit

junit-platform-testkit

JSON →
library6.0.3javamavenunverified

Provides testing support for JUnit Platform extensions and engines.

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

EngineTestKit
org.junit.platform.testkit.engine.EngineTestKit

Minimal example using EngineTestKit to execute and verify test results.

import org.junit.platform.testkit.engine.EngineTestKit; import org.junit.platform.testkit.engine.Events; public class Example { public static void main(String[] args) { Events tests = EngineTestKit .engine("junit-jupiter") .selectors(/* ... */) .execute() .tests(); tests.assertStatistics(stats -> stats.succeeded(1)); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.0.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
junit-platform-testkit — mvn dependency:get junit-platform-testkit · libregistry