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:
- If you are on a version under v4.3 you will need to upgrade from here.
- 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.