open class ProfileValueChecker : Statement
ProfileValueChecker is a custom JUnit Statement that checks whether a test class or test method is enabled in the current environment via Spring's IfProfileValue annotation.
Author
Sam Brannen
Author
Philippe Marschall
Since
4.2
See Also
#evaluate()IfProfileValueProfileValueUtils
ProfileValueChecker(next: Statement, testClass: Class<*>, testMethod: Method)
Construct a new |
open fun evaluate(): Unit
Determine if the test specified by arguments to the constructor is enabled in the current environment, as configured via the IfProfileValue annotation. If the test is not annotated with If a test is not enabled, this method will abort further evaluation of the execution chain with a failed assumption; otherwise, this method will simply evaluate the next Statement in the execution chain. |