Package | Description |
---|---|
net.sourceforge.pmd.lang.apex.rule.bestpractices |
Modifier and Type | Class and Description |
---|---|
class |
ApexUnitTestClassShouldHaveAssertsRule
Apex unit tests should have System.assert methods in them
|
class |
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.
|
Copyright © 2002–2017 PMD. All rights reserved.