Apex Test Results Summary

Updated 8 months ago by Copado Solutions

The visualforce email template allows you to get the same detailed report of the org's Apex test results available via email using a workflow.

Here is how:

  1. Create a new workflow rule for the object Apex Test Result.
  2. Choose when to activate when a record is created.
  3. Choose formula evaluates to true and set the formula to true.
  4. Add a time-based trigger for 0 hours after the rule activation.
  5. Add an email alert using the template Apex Test Result Summary.
  6. Save and activate the rule.

How did we do?