Package | Description |
---|---|
org.junit.jupiter.engine.descriptor |
Test descriptors used within the JUnit Jupiter test engine.
|
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 |
---|---|
Node.SkipResult |
DynamicNodeTestDescriptor.shouldBeSkipped(JupiterEngineExecutionContext context) |
Node.SkipResult |
JupiterTestDescriptor.shouldBeSkipped(JupiterEngineExecutionContext context) |
private Node.SkipResult |
JupiterTestDescriptor.toSkipResult(ConditionEvaluationResult evaluationResult) |
Modifier and Type | Method and Description |
---|---|
void |
TestMethodTestDescriptor.nodeSkipped(JupiterEngineExecutionContext context,
TestDescriptor descriptor,
Node.SkipResult result)
Invoke
TestWatcher.testDisabled(ExtensionContext, Optional) on each
registered TestWatcher , in registration order. |
void |
TestFactoryTestDescriptor.nodeSkipped(JupiterEngineExecutionContext context,
TestDescriptor descriptor,
Node.SkipResult result)
Override
TestMethodTestDescriptor.nodeSkipped(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.support.hierarchical.Node.SkipResult) as a no-op, since
the TestWatcher API is not supported for @TestFactory
containers. |
Modifier and Type | Field and Description |
---|---|
private static Node.SkipResult |
Node.SkipResult.alwaysExecuteSkipResult |
private Node.SkipResult |
NodeTestTask.skipResult |
Modifier and Type | Method and Description |
---|---|
static Node.SkipResult |
Node.SkipResult.doNotSkip()
Factory for creating do not skip results.
|
default Node.SkipResult |
Node.shouldBeSkipped(C context)
Determine if the execution of the supplied
context should be
skipped. |
static Node.SkipResult |
Node.SkipResult.skip(java.lang.String reason)
Factory for creating skipped results.
|
Modifier and Type | Method and Description |
---|---|
default void |
Node.nodeSkipped(C context,
TestDescriptor testDescriptor,
Node.SkipResult result)
Callback invoked when the execution of this node has been skipped.
|