0

Can any one help me.I have written a Trigger and test classes .When i check in the sandbox i could see only the trigger and the test classes got disapperared .I checked in the Apex classes and in Developer Console to run the test.But i could not see the test class.Any help very much appreciated.

2

You could run all tests in the developer console (by clicking on Test > Run All), once they are complete you can then see the coverage for a particular class and where/what generated the coverage:

enter image description here

This will only help if the test class actually provides coverage and hasn't been deleted/commented out...oh and make sure it's got the @isTest annotation

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.