C - the type of EngineExecutionContext used by this engineTestEngineJupiterTestEngine@API(status=MAINTAINED, since="1.0") public abstract class HierarchicalTestEngine<C extends EngineExecutionContext> extends java.lang.Object implements TestEngine
TestEngine implementations that wish
to organize test suites hierarchically based on the Node abstraction.Node| Constructor | Description |
|---|---|
HierarchicalTestEngine() |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract C |
createExecutionContext(ExecutionRequest request) |
Create the initial execution context for executing the supplied
request. |
void |
execute(ExecutionRequest request) |
Create an initial execution
context, execute the behavior of all nodes in the
hierarchy starting with the supplied
request's
root and notify
its execution
listener of test execution events. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdiscover, getArtifactId, getGroupId, getId, getVersionpublic final void execute(ExecutionRequest request)
request's
root and notify
its execution
listener of test execution events.execute in interface TestEnginerequest - the request to execute tests for; never nullNode,
createExecutionContext(org.junit.platform.engine.ExecutionRequest)protected abstract C createExecutionContext(ExecutionRequest request)
request.request - the request about to be executed