You need to sign in to do that
Don't have an account?
harish reddy 39
How to find which test class is for which class
In my organization we have so many classes ,I am not able to map approiate test class with actual class as their naming convention is different of that of class .
is there any way to find out plz help me.
Thanks in advance for ur help.
is there any way to find out plz help me.
Thanks in advance for ur help.
Go to Developer Console > File > Open > 'Select class', top left corner says which tests are covering the specific class. Click on the Code coverage drop down, there you can see the test class for that particular class. Please mark this as Best answer if this helps .
Step 2 : Go to developer console and open the apex class and you can able to see all the test class as shown below
e.g : I give a list of class : class1,class2,class3 and an api respond which test class is covering all these class..
- From Setup, enter Apex Test Execution in the Quick Find box, then select Apex Test Execution.
- Click Select Tests....
-
- To opt out of collecting code coverage information during test runs, select Skip Code Coverage.
- Click Run.
https://help.salesforce.com/articleView?id=code_test_execution.htm&type=5