Apex Test Results Summary
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:
- Create a new workflow rule for the object Apex Test Result.
- Choose when to activate when a record is created.
- Choose formula evaluates to true and set the formula to true.
- Add a time-based trigger for 0 hours after the rule activation.
- Add an email alert using the template Apex Test Result Summary.
- Save and activate the rule.