Package: groovy.junit6.plugin

## [Groovy] Class GroovyConditionExtension

- groovy.junit6.plugin.GroovyConditionExtension

- All Implemented Interfaces and Traits:
    ExecutionCondition

      @CompileStatic
      class GroovyConditionExtension
      extends Object
      implements ExecutionCondition

  JUnit ExecutionCondition that evaluates Groovy closures from GroovyEnabledIf and GroovyDisabledIf annotations.

  Since:
    6.0.0

- - ### Constructor Summary

    Constructors
    Constructor and description
    `GroovyConditionExtension()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `ConditionEvaluationResult` | `evaluateExecutionCondition(ExtensionContext context)` Evaluates the Groovy condition annotations attached to the current JUnit element.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GroovyConditionExtension()

  - ### Method Detail

    - #### @Override
      ConditionEvaluationResult evaluateExecutionCondition(ExtensionContext context)

      Evaluates the Groovy condition annotations attached to the current JUnit element.

      Parameters:
        `context` - the JUnit extension context for the current element
      Returns:
        the enablement decision for the element