ScriptTestAdapter (Groovy 5.0.7)

Package: org.apache.groovy.test

## [Java] Class ScriptTestAdapter

- org.apache.groovy.test.ScriptTestAdapter

- All Implemented Interfaces and Traits:
    Test

      public class ScriptTestAdapter
      extends Object
      implements Test

  An adapter to make any Groovy Script class an instance of a JUnit Test

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ScriptTestAdapter(Class scriptClass, String[] arguments)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public int` | `countTestCases()`
    `` | `public void` | `run(TestResult result)`
    `` | `public String` | `toString()`

  - ### Inherited Methods Summary

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

- - ### Constructor Detail

    - #### public ScriptTestAdapter(Class scriptClass, String[] arguments)

  - ### Method Detail

    - #### @Override
      public int countTestCases()

    - #### @Override
      public void run(TestResult result)

    - #### @Override
      public String toString()