rulesets.junit.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of CodeNarc Show documentation
Show all versions of CodeNarc Show documentation
The CodeNarc project provides a static analysis tool for Groovy code.
<ruleset xmlns="http://codenarc.org/ruleset/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://codenarc.org/ruleset/1.0 http://codenarc.org/ruleset-schema.xsd" xsi:noNamespaceSchemaLocation="http://codenarc.org/ruleset-schema.xsd"> <description> JUnit rule set. These rules implement standards and best practices related to JUnit tests. </description> <rule class='org.codenarc.rule.junit.ChainedTestRule'/> <rule class='org.codenarc.rule.junit.CoupledTestCaseRule'/> <rule class='org.codenarc.rule.junit.JUnitAssertAlwaysFailsRule'/> <rule class='org.codenarc.rule.junit.JUnitAssertAlwaysSucceedsRule'/> <rule class='org.codenarc.rule.junit.JUnitFailWithoutMessageRule'/> <rule class='org.codenarc.rule.junit.JUnitPublicNonTestMethodRule'/> <rule class='org.codenarc.rule.junit.JUnitPublicPropertyRule'/> <rule class='org.codenarc.rule.junit.JUnitLostTestRule'/> <rule class='org.codenarc.rule.junit.JUnitPublicFieldRule'/> <rule class='org.codenarc.rule.junit.JUnitSetUpCallsSuperRule'/> <rule class='org.codenarc.rule.junit.JUnitTearDownCallsSuperRule'/> <rule class='org.codenarc.rule.junit.JUnitStyleAssertionsRule'/> <rule class='org.codenarc.rule.junit.JUnitTestMethodWithoutAssertRule'/> <rule class='org.codenarc.rule.junit.JUnitUnnecessarySetUpRule'/> <rule class='org.codenarc.rule.junit.JUnitUnnecessaryTearDownRule'/> <rule class='org.codenarc.rule.junit.JUnitUnnecessaryThrowsExceptionRule'/> <rule class='org.codenarc.rule.junit.SpockIgnoreRestUsedRule'/> <rule class='org.codenarc.rule.junit.UnnecessaryFailRule'/> <rule class='org.codenarc.rule.junit.UseAssertTrueInsteadOfNegationRule'/> <rule class='org.codenarc.rule.junit.UseAssertFalseInsteadOfNegationRule'/> <rule class='org.codenarc.rule.junit.UseAssertEqualsInsteadOfAssertTrueRule'/> <rule class='org.codenarc.rule.junit.UseAssertTrueInsteadOfAssertEqualsRule'/> <rule class='org.codenarc.rule.junit.UseAssertNullInsteadOfAssertEqualsRule'/> <rule class='org.codenarc.rule.junit.UseAssertSameInsteadOfAssertTrueRule'/> </ruleset>