|
Griffon 1.2.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
interface GriffonTestType
Describes the contract that a test type must support to be runnable by `griffon test-app`.
| Method Summary | |
|---|---|
void
|
cleanup()
Do any necessary tidy up. |
String
|
getName()
A suitable display name for this test type. |
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(GriffonTestTargetPattern[] testTargetPatterns, File compiledClassesDir, Binding buildBinding)
Perform any kind of initialisation, and return how many tests will be run. |
GriffonTestTypeResult
|
run(GriffonTestEventPublisher eventPublisher)
Runs the tests, appropriately calls GriffonTestEventPublisher and returns the GriffonTestTypeResult. |
| Method Detail |
|---|
void cleanup()
String getName()
String getRelativeSourcePath()
int prepare(GriffonTestTargetPattern[] testTargetPatterns, File compiledClassesDir, Binding buildBinding)
compiledClassesDir - where the source was compiled to, or null if
getRelativeSourcePath returned null.buildBinding - the binding from the build environment
GriffonTestTypeResult run(GriffonTestEventPublisher eventPublisher)
Groovy Documentation