class JUnitLostTestRule extends AbstractAstVisitorRule
Rule that checks if a JUnit 4 test class contains public, instance, void, no-arg methods named test*() that are NOT abstract and NOT annotated with
applyToFilesMatching to only match source code file
paths ending in 'Test.groovy' or 'Tests.groovy'.| Fields inherited from class | Fields |
|---|---|
class AbstractAstVisitorRule |
CLOSURE_TEXT, DEFAULT_CONST_NAME, DEFAULT_FIELD_NAME, DEFAULT_TEST_CLASS_NAMES, DEFAULT_TEST_FILES, DEFAULT_VAR_NAME |
| Type | Name and description |
|---|---|
java.lang.String |
applyToClassNames |
java.lang.Class |
astVisitorClass |
java.lang.String |
name |
int |
priority |
| Constructor and description |
|---|
JUnitLostTestRule
() |
Groovy Documentation