Thursday, July 9, 2015

Code coverage report.

Need to use the Tooling API.
  • Go to Aside.IO
  • Login to production
  • Click the “<“ button on the top right and select “Test”
  • Click "Coverage Report”
  • Finally click the “Click Here to Download Report"

SELECT Id, ApexClassOrTriggerId, ApexClassOrTrigger.Name,
       NumLinesCovered, NumLinesUncovered 
  FROM ApexCodeCoverageAggregate

No comments:

Post a Comment