Uses of Class
net.sourceforge.pmd.lang.apex.rule.AbstractApexUnitTestRule
-
Packages that use AbstractApexUnitTestRule Package Description net.sourceforge.pmd.lang.apex.rule.bestpractices -
-
Uses of AbstractApexUnitTestRule in net.sourceforge.pmd.lang.apex.rule.bestpractices
Subclasses of AbstractApexUnitTestRule in net.sourceforge.pmd.lang.apex.rule.bestpractices Modifier and Type Class Description class
ApexAssertionsShouldIncludeMessageRule
class
ApexUnitTestClassShouldHaveAssertsRule
Apex unit tests should have System.assert methods in themclass
ApexUnitTestClassShouldHaveRunAsRule
Apex unit tests should have System.runAs methods in themclass
ApexUnitTestShouldNotUseSeeAllDataTrueRule
It's a very bad practice to use @isTest(seeAllData=true) in Apex unit tests, because it opens up the existing database data for unexpected modification by tests.
-