You need to sign in to do that
Don't have an account?
Denis 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?
Refer the below links.
https://developer.salesforce.com/page/An_Introduction_to_Apex_Code_Test_Methods
https://developer.salesforce.com/page/How_to_Write_Good_Unit_Tests
All Answers
Refer the below links.
https://developer.salesforce.com/page/An_Introduction_to_Apex_Code_Test_Methods
https://developer.salesforce.com/page/How_to_Write_Good_Unit_Tests
https://developer.salesforce.com/page/An_Introduction_to_Apex_Code_Test_Methods
this link is exactly what I needed