|
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.JUnitStyleAssertionsRule
class JUnitStyleAssertionsRule extends AbstractAstVisitorRule
This rule detects calling JUnit style assertions like assertEquals, assertTrue, assertFalse, assertNull, assertNotNull. Groovy 1.7 ships with a feature called the "power assert", which is an assert statement with better error reporting. This is preferable to the JUnit assertions.
Property Summary | |
---|---|
String |
applyToClassNames
|
Class |
astVisitorClass
|
String |
name
|
int |
priority
|
Property Detail |
---|
String applyToClassNames
Class astVisitorClass
String name
int priority
Groovy Documentation