public class GroovyTestSuite
extends junit.framework.TestSuite
java groovy.util.GroovyTestSuite src/test/Foo.groovy
Or to run the test suite as a unit test suite in an IDE you can use
the 'test' system property to define the test script to run.
e.g. pass this into the JVM when the unit test plugin runs...
-Dtest=src/test/Foo.groovy
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
file |
protected GroovyClassLoader |
loader |
Constructor and Description |
---|
GroovyTestSuite() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
compile(java.lang.String fileName) |
void |
loadTestSuite() |
static void |
main(java.lang.String[] args) |
static junit.framework.Test |
suite() |
protected static java.lang.String file
protected final GroovyClassLoader loader
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
public void loadTestSuite() throws java.lang.Exception
java.lang.Exception
public java.lang.Class compile(java.lang.String fileName) throws java.lang.Exception
java.lang.Exception