Package | Description |
---|---|
org.junit.platform.launcher |
Public API for configuring and launching test plans.
|
org.junit.platform.launcher.listeners |
Common
TestExecutionListener implementations and related support classes for
the Launcher . |
Modifier and Type | Method and 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. |
static TestPlan |
TestPlan.from(Collection<TestDescriptor> engineDescriptors)
Construct a new
TestPlan from the supplied collection of
TestDescriptors . |
Modifier and Type | Method and Description |
---|---|
default void |
TestExecutionListener.testPlanExecutionFinished(TestPlan testPlan)
Called when the execution of the
TestPlan has finished,
after all tests have been executed. |
default void |
TestExecutionListener.testPlanExecutionStarted(TestPlan testPlan)
Called when the execution of the
TestPlan has started,
before any test has been executed. |
Modifier and Type | Method and Description |
---|---|
void |
LoggingListener.testPlanExecutionFinished(TestPlan testPlan) |
void |
SummaryGeneratingListener.testPlanExecutionFinished(TestPlan testPlan) |
void |
LoggingListener.testPlanExecutionStarted(TestPlan testPlan) |
void |
SummaryGeneratingListener.testPlanExecutionStarted(TestPlan testPlan) |