org.sonar.l10n.pmd.rules.pmd-unit-tests.JUnitSpelling.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-pmd-plugin Show documentation
Show all versions of sonar-pmd-plugin Show documentation
PMD is a tool that looks for potential problems like possible bugs, dead code, suboptimal code, overcomplicated expressions or duplicate code.
Some JUnit framework methods are easy to misspell.
import junit.framework.*;
public class Foo extends TestCase {
public void setup() {} // violation, should be setUp()
public void TearDown() {} // violation, should be tearDown()
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy