|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codenarc.rule.AbstractAstVisitorRule
groovy.org.codenarc.rule.junit.CoupledTestCaseRule
class CoupledTestCaseRule extends AbstractAstVisitorRule
This rule finds test cases that are coupled to other test cases, either by invoking static methods on another test case or by creating instances of another test case. If you require shared logic in test cases then extract that logic to a new class where it can properly be reused.
Property Summary | |
---|---|
String |
applyToClassNames
|
Class |
astVisitorClass
|
String |
name
|
int |
priority
|
Property Detail |
---|
String applyToClassNames
Class astVisitorClass
String name
int priority
Groovy Documentation