+ Start a Discussion
Denis O'LearyDenis O'Leary 

testing an apex class

I have an apex Class that I've entered in my Sandbox, I'm trying to deploy this to my production Org but I'm getting an error saying that the code coverage is too low. I've read up on creating test classes but I'm still a bit lost. Is there any documentation not just on creating a test class but one that will show you how to create a test class that tests the code you have in the Class you are looking to deploy? 

All Answers

Denis O'LearyDenis O'Leary

https://developer.salesforce.com/page/An_Introduction_to_Apex_Code_Test_Methods


this link is exactly what I needed