rulesets.java.junit.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <ruleset name="JUnit" xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"> <description> These rules deal with different problems that can occur with JUnit tests. </description> <!-- Rules, that have been moved into a category --> <rule ref="category/java/errorprone.xml/JUnitSpelling" deprecated="true" /> <rule ref="category/java/errorprone.xml/JUnitStaticSuite" deprecated="true" /> <rule ref="category/java/errorprone.xml/TestClassWithoutTestCases" deprecated="true" /> <rule ref="category/java/errorprone.xml/UnnecessaryBooleanAssertion" deprecated="true" /> <rule ref="category/java/bestpractices.xml/JUnitAssertionsShouldIncludeMessage" deprecated="true" /> <rule ref="category/java/bestpractices.xml/JUnitTestContainsTooManyAsserts" deprecated="true" /> <rule ref="category/java/bestpractices.xml/JUnitTestsShouldIncludeAssert" deprecated="true" /> <rule ref="category/java/bestpractices.xml/UseAssertEqualsInsteadOfAssertTrue" deprecated="true" /> <rule ref="category/java/bestpractices.xml/UseAssertNullInsteadOfAssertTrue" deprecated="true" /> <rule ref="category/java/bestpractices.xml/UseAssertSameInsteadOfAssertTrue" deprecated="true" /> <rule ref="category/java/bestpractices.xml/UseAssertTrueInsteadOfAssertEquals" deprecated="true" /> <rule ref="category/java/design.xml/SimplifyBooleanAssertion" deprecated="true" /> </ruleset>