Package de.bmiag.tapir.execution.plan
Interface ExecutionFilter
-
- All Known Implementing Classes:
ConditionalFilter
,FeatureActivatedAnnotationFilter
,FeatureBasedParameterFilter
public interface ExecutionFilter
By implementingExecutionFilter
it's possible to filter test suite, classes or steps. These filtered elements are not part of the execution plan and therefore are not executed by the executor.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
shouldFilterClass(TestClass testClass, java.lang.Object testInstance)
Checks if the given testClass should be filtered.boolean
shouldFilterStep(TestStep testStep, java.lang.Object testInstance)
Checks if the given testStep should be filtered.boolean
shouldFilterSuite(TestSuite testSuite, java.lang.Object testInstance)
Checks if the given testSuite should be filtered.
-
-
-
Method Detail
-
shouldFilterSuite
boolean shouldFilterSuite(TestSuite testSuite, java.lang.Object testInstance)
Checks if the given testSuite should be filtered.- Parameters:
testSuite
- the test suite which might be filteredtestInstance
- the test suite instance- Returns:
- true, if the test suite should be excluded from the execution plan, otherwise false
- Since:
- 2.0.0
-
shouldFilterClass
boolean shouldFilterClass(TestClass testClass, java.lang.Object testInstance)
Checks if the given testClass should be filtered.- Parameters:
testClass
- the test class which might be filteredtestInstance
- the test class instance- Returns:
- true, if the test class should be excluded from the execution plan, otherwise false
- Since:
- 2.0.0
-
shouldFilterStep
boolean shouldFilterStep(TestStep testStep, java.lang.Object testInstance)
Checks if the given testStep should be filtered.- Parameters:
testStep
- the test step which might be filteredtestInstance
- the test class instance- Returns:
- true, if the test step should be excluded from the execution plan, otherwise false
- Since:
- 2.0.0
-
-