open static fun isTestEnabledInThisEnvironment(testClass: Class<*>): Boolean
Determine if the supplied testClass is enabled in the current environment, as specified by the IfProfileValue annotation at the class level.
Defaults to true if no IfProfileValue annotation is declared.
Return
true if the test is enabled in the current environment
open static fun isTestEnabledInThisEnvironment(testMethod: Method, testClass: Class<*>): Boolean
Determine if the supplied testMethod is enabled in the current environment, as specified by the IfProfileValue annotation, which may be declared on the test method itself or at the class level. Class-level usage overrides method-level usage.
Defaults to true if no IfProfileValue annotation is declared.
Return
true if the test is enabled in the current environment
open static fun isTestEnabledInThisEnvironment(profileValueSource: ProfileValueSource, testMethod: Method, testClass: Class<*>): Boolean
Determine if the supplied testMethod is enabled in the current environment, as specified by the IfProfileValue annotation, which may be declared on the test method itself or at the class level. Class-level usage overrides method-level usage.
Defaults to true if no IfProfileValue annotation is declared.
profileValueSource - the ProfileValueSource to use to determine if the test is enabled
Return
true if the test is enabled in the current environment