Using the `ExecutionCondition` Extension
Explore how to create custom conditional execution in JUnit 5 by implementing the ExecutionCondition interface. Understand how to use environment variables to control when tests run, such as enabling tests only on continuous integration systems. This lesson helps you write extensions that manage test execution based on dynamic conditions.
The ExecutionCondition extension allows us to implement conditional execution of the test based on certain test characteristics.
There are different conditional execution annotations available in Jupiter. However, we have much more freedom to implement different conditions to run the tests using the extensions.
We ...