| Package | Description |
|---|---|
| org.junit.platform.launcher.core |
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder. |
| org.junit.platform.runner |
Runner and annotations for configuring and executing tests on the
JUnit Platform in a JUnit 4 environment. |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
DefaultLauncher
Default implementation of the
Launcher API. |
| Modifier and Type | Method and Description |
|---|---|
static Launcher |
LauncherFactory.create()
Factory method for creating a new
Launcher using automatic
registration for test engines and test execution listeners. |
static Launcher |
LauncherFactory.create(LauncherConfig config)
Factory method for creating a new
Launcher using the supplied
LauncherConfig. |
| Modifier and Type | Field and Description |
|---|---|
private Launcher |
JUnitPlatform.launcher |
| Constructor and Description |
|---|
JUnitPlatform(java.lang.Class<?> testClass,
Launcher launcher) |