| Package | Description |
|---|---|
| org.junit.platform.engine |
Public API for test engines.
|
| org.junit.platform.engine.support.hierarchical |
Support classes and base implementation for any
TestEngine that wishes to organize test suites
hierarchically based on the
Node abstraction. |
| Modifier and Type | Method and Description |
|---|---|
static TestExecutionResult |
TestExecutionResult.aborted(java.lang.Throwable throwable)
Obtain a
TestExecutionResult for an aborted execution
of a test or container with the supplied throwable. |
static TestExecutionResult |
TestExecutionResult.failed(java.lang.Throwable throwable)
Obtain a
TestExecutionResult for a failed execution
of a test or container with the supplied throwable. |
static TestExecutionResult |
TestExecutionResult.successful()
Obtain a
TestExecutionResult for a successful execution
of a test or container. |
| Modifier and Type | Method and Description |
|---|---|
void |
EngineExecutionListener.executionFinished(TestDescriptor testDescriptor,
TestExecutionResult testExecutionResult)
Must be called when the execution of a leaf or subtree of the test tree
has finished, regardless of the outcome.
|
| Modifier and Type | Method and Description |
|---|---|
TestExecutionResult |
SingleTestExecutor.executeSafely(SingleTestExecutor.Executable executable)
Execute the supplied
SingleTestExecutor.Executable and return a
TestExecutionResult based on the outcome. |