Package: groovy.junit6.plugin

## [Groovy] Class GroovyJUnitRunnerHelper

- groovy.junit6.plugin.GroovyJUnitRunnerHelper

-     class GroovyJUnitRunnerHelper
      extends Object

  Helper for launching a single JUnit Platform test class from Groovy's JUnit 6 runner.

  Since:
    6.0.0

- - ### Constructor Summary

    Constructors
    Constructor and description
    `GroovyJUnitRunnerHelper()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `static Throwable` | `execute(Class testClass)` Executes the supplied test class and returns the first failure, if any.

  - ### Inherited Methods Summary

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

- - ### Constructor Detail

    - #### GroovyJUnitRunnerHelper()

  - ### Method Detail

    - #### @SuppressWarnings(value="Println")
      static Throwable execute(Class testClass)

      Executes the supplied test class and returns the first failure, if any.

      Parameters:
        `testClass` - the JUnit 6 test class to execute
      Returns:
        the first failure exception, or `null` when all tests pass