rule.pmd-unit-tests.JUnitSpelling.name= JUnit spelling
rule.pmd-unit-tests.JUnitAssertionsShouldIncludeMessage.name=JUnit assertions should include a message
rule.pmd-unit-tests.JUnitTestsShouldIncludeAssert.name=JUnit tests should include an assert
-rule.pmd-unit-tests.TestClassWithoutTestCases.name=Test class without test cases
+rule.pmd-unit-tests.TestClassWithoutTestCases.name=Test class without test cases (JUnit 3.x only)
rule.pmd-unit-tests.UnnecessaryBooleanAssertion.name=Unnecessary boolean assertion
rule.pmd-unit-tests.UseAssertEqualsInsteadOfAssertTrue.name=Use assertEquals instead of assertTrue
rule.pmd-unit-tests.UseAssertSameInsteadOfAssertTrue.name=Use assertSame instead of assertTrue
Test classes end with the suffix Test. Having a non-test class with that name is not a good practice, since most people will assume it is a test case. Test classes have test methods named testXXX.
+Beware: This rule doesn't support JUnit 4.x's @Test annotation.
<pre>
public class CarTest { // violation, consider changing the name of the class if it is not a test
// consider adding test methods if it is a test