Skip to content

Add a new rule for Apex PMD

David Renz edited this page May 30, 2016 · 12 revisions
  • Create a new rule (example AvoidDmlInLoops)
  • Use a similar rule as starting point and adapt it
  • Add rule definition to the ruleset of its category and the complete ruleset
  • Add the rule to the according Test class
  • Create a new xml file with test cases
  • Run your unit tests
Clone this wiki locally