- All Superinterfaces:
- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
ExtensionAPI for programmatic, conditional test execution.
ExecutionCondition disables 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
@AfterEach methods, and corresponding extension APIs.
Consult the documentation in
Extension for details on
evaluateExecutionConditionEvaluate this condition for the supplied
An enabled result indicates that the container or test should be executed; whereas, a disabled result indicates that the container or test should not be executed.
context- the current extension context; never
- the result of evaluating this condition; never