Examples for assumptions with JUnit 4 and 5 Have a look at the code. Blog posts Assumptions and Conditional Test Execution with JUnit 4 and 5