@CompileStatic
class GroovyConditionExtension
extends Object
implements ExecutionCondition
JUnit ExecutionCondition that evaluates Groovy closures from GroovyEnabledIf and GroovyDisabledIf annotations.
| Constructor and description |
|---|
GroovyConditionExtension() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
ConditionEvaluationResult |
evaluateExecutionCondition(ExtensionContext context)Evaluates the Groovy condition annotations attached to the current JUnit element. |
Evaluates the Groovy condition annotations attached to the current JUnit element.
context - the JUnit extension context for the current elementCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.