Here are my notes from today’s Salesforce webinar “Summer ‘13 Developer Preview’ (slides here) as well as the Summer ‘13 release notes (all 250+ pages). As with my previous post for Summer ‘13 for Admins, the following is not the entire list of changes, just the ones that seem most
When you need to add a trigger to Salesforce, you will also have to write a test class. In addition to being a Development Best Practice, Salesforce requires that each trigger have at least 1 test class; and that the total test coverage of all your Apex code is at least 75%.
Unlike other Apex classes, you can’t add the test methods to the same file as the trigger. You need to create a separate Apex test class.