- All Implemented Interfaces:
- junit.framework.Test
public class ScriptTestAdapter
extends Object
implements junit.framework.Test 
An adapter to make any Groovy Script class an instance of a JUnit Test
- 
Constructor SummaryConstructors 
- 
Method Summary
int
   void
 run(junit.framework.TestResult result)
    
 
 
 
- 
Constructor Details
- 
ScriptTestAdapterpublic ScriptTestAdapter(Class scriptClass,
 String[] arguments) 
 
- 
Method Details
- 
countTestCasespublic int countTestCases() 
- Specified by:
- countTestCasesin interface- junit.framework.Test
 
- 
runpublic void run(junit.framework.TestResult result) 
- Specified by:
- runin interface- junit.framework.Test
 
-