All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rulesets.junit.xml Maven / Gradle / Ivy

There is a newer version: 3.5.0-groovy-4.0
Show newest version
<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.SpockMissingAssertRule'/>
    <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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy