Interface TestExecutionDecider
public interface TestExecutionDecider
Override the execution of the Before/Test/After phase of the
Test framework.
- Author:
- Stefan Miklosovic
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionThis method will be called individually for each event(before/test/after), but should return the same result for each to behave consistently.intHigher the precedence is, sooner this decider will be treated.
-
Field Details
-
EXECUTE
-
-
Method Details
-
decide
This method will be called individually for each event(before/test/after), but should return the same result for each to behave consistently.- Parameters:
testMethod- test method to resolve a test execution on. This is always the @Test method regardless of the current phase before or after.- Returns:
- execution decision telling if a test method is going to be executed or not
-
precedence
int precedence()Higher the precedence is, sooner this decider will be treated.- Returns:
- precedence of this decider
-