|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
interface GrailsTestType
Describes the contract that a test type must support to be runnable by `grails test-app`.
| Method Summary | |
|---|---|
void
|
cleanup()
Do any necessary tidy up. |
java.lang.String
|
getName()
A suitable display name for this test type. |
java.lang.String
|
getRelativeSourcePath()
The relative path from the configured test source directory to the particular directory that contains the tests for this test type. |
int
|
prepare(GrailsTestTargetPattern[] testTargetPatterns, java.io.File compiledClassesDir, groovy.lang.Binding buildBinding)
Perform any kind of initialisation, and return how many tests will be run. |
GrailsTestTypeResult
|
run(GrailsTestEventPublisher eventPublisher)
Runs the tests, appropriately calls eventPublisher and returns the test result. |
| Method Detail |
|---|
void cleanup()
java.lang.String getName()
java.lang.String getRelativeSourcePath()
int prepare(GrailsTestTargetPattern[] testTargetPatterns, java.io.File compiledClassesDir, groovy.lang.Binding buildBinding)
compiledClassesDir - where the source was compiled to, or null if
getRelativeSourcePath() returned null.buildBinding - the binding from the build environment
GrailsTestTypeResult run(GrailsTestEventPublisher eventPublisher)
Groovy Documentation