Class ModulithExecutionCondition
java.lang.Object
org.springframework.modulith.junit.ModulithExecutionCondition
- All Implemented Interfaces:
org.junit.jupiter.api.extension.ExecutionCondition
,org.junit.jupiter.api.extension.Extension
public class ModulithExecutionCondition
extends Object
implements org.junit.jupiter.api.extension.ExecutionCondition
JUnit Extension to optimize test execution based on which files have changed in a Spring Modulith project.
- Author:
- Lukas Dohmen, David Bilge, Oliver Drotbohm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.junit.jupiter.api.extension.ConditionEvaluationResult
evaluateExecutionCondition
(org.junit.jupiter.api.extension.ExtensionContext context)
-
Constructor Details
-
ModulithExecutionCondition
public ModulithExecutionCondition()
-
-
Method Details
-
evaluateExecutionCondition
public org.junit.jupiter.api.extension.ConditionEvaluationResult evaluateExecutionCondition(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
evaluateExecutionCondition
in interfaceorg.junit.jupiter.api.extension.ExecutionCondition
-