Package: groovy.junit5.plugin

## [Groovy] Class GroovyJUnitRunnerHelper

- groovy.junit5.plugin.GroovyJUnitRunnerHelper

-     class GroovyJUnitRunnerHelper
      extends Object

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

- - ### 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 5 test class to execute
      Returns:
        the first failure exception, or `null` when all tests pass