Package | Description |
---|---|
org.junit.platform.launcher |
Public API for configuring and launching test plans.
|
org.junit.platform.launcher.core |
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder . |
Modifier and Type | Method | Description |
---|---|---|
TestPlan |
Launcher.discover(LauncherDiscoveryRequest launcherDiscoveryRequest) |
Discover tests and build a
TestPlan according to the supplied
LauncherDiscoveryRequest by querying all registered engines and
collecting their results. |
void |
Launcher.execute(LauncherDiscoveryRequest launcherDiscoveryRequest,
TestExecutionListener... listeners) |
Execute a
TestPlan which is built according to the supplied
LauncherDiscoveryRequest by querying all registered engines and
collecting their results, and notify registered listeners about the progress and results of the execution. |
Modifier and Type | Method | Description |
---|---|---|
LauncherDiscoveryRequest |
LauncherDiscoveryRequestBuilder.build() |
Build the
LauncherDiscoveryRequest that has been configured via
this builder. |