Introduction to Testing in Salesforce
Automated testing confirms whether a piece of particular code is working correctly. And, its no secret, that writing automated tests helps decrease bugs and locate existing bugs. Why write test methods? Test Methods are required to deploy Apex to a production environment. In Salesforce, all classes must have at least 75% code coverage. If you…