- All Superinterfaces:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface @API(status=STABLE, since="5.0") public interface ExecutionCondition extends Extension
ExtensionAPI for programmatic, conditional test execution.
ExecutionConditiondisables a test method, that does not prevent the test class from being instantiated. Rather, it prevents the execution of the test method and method-level lifecycle callbacks such as
@AfterEachmethods, and corresponding extension APIs.
Implementations must provide a no-args constructor.
ConditionEvaluationResult evaluateExecutionCondition(ExtensionContext context)Evaluate this condition for the supplied
context- the current extension context; never
- the result of evaluating this condition; never