Groovy Documentation

groovy.org.codenarc.rule.junit
[Groovy] Class JUnitLostTestRule

java.lang.Object
  org.codenarc.rule.AbstractAstVisitorRule
      groovy.org.codenarc.rule.junit.JUnitLostTestRule

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 annotated with

Test.:

This rule sets the default value of applyToFilesMatching to only match source code file paths ending in 'Test.groovy' or 'Tests.groovy'.

Authors:
Chris Mair


Property Summary
String applyToClassNames

Class astVisitorClass

String name

int priority

 

Property Detail

applyToClassNames

String applyToClassNames


astVisitorClass

Class astVisitorClass


name

String name


priority

int priority


 

Groovy Documentation