@FunctionalInterface @API(value=Experimental) public interface ContainerExecutionCondition extends Extension
ContainerExecutionCondition defines the Extension API for
programmatic, conditional container execution.
A ContainerExecutionCondition is evaluated
to determine if all tests in a given container should be executed based
on the supplied ContainerExtensionContext.
Implementations must provide a no-args constructor.
TestExecutionCondition,
Disabled| Modifier and Type | Method and Description |
|---|---|
ConditionEvaluationResult |
evaluate(ContainerExtensionContext context)
Evaluate this condition for the supplied
ContainerExtensionContext. |
ConditionEvaluationResult evaluate(ContainerExtensionContext context)
ContainerExtensionContext.
An enabled result indicates that the container should be executed; whereas, a disabled result indicates that the container should not be executed.
context - the current extension context; never nullnull