| Package | Description |
|---|---|
| net.sourceforge.pmd.lang.apex.rule.apexunit |
| Modifier and Type | Class and Description |
|---|---|
class |
ApexUnitTestClassShouldHaveAsserts
Apex unit tests should have System.assert methods in them
|
class |
ApexUnitTestShouldNotUseSeeAllDataTrue
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.