You need to sign in to do that
Don't have an account?

test class coverage differences in sanboxes
Hi Experts,
I have created a test class for a trigger and apex class for trigger code coverage is 78% and test class is 81% in Sandbox1.
when I have created same test class for a trigger and apex class, for trigger code coverage is 0% and test class is 0% in another sanbox2.
Both sanbox1 and sanbox2 are identical but I don't know why the code coverage is not happening in sanbox2. Can anyone know the reason?
I have created a test class for a trigger and apex class for trigger code coverage is 78% and test class is 81% in Sandbox1.
when I have created same test class for a trigger and apex class, for trigger code coverage is 0% and test class is 0% in another sanbox2.
Both sanbox1 and sanbox2 are identical but I don't know why the code coverage is not happening in sanbox2. Can anyone know the reason?
While running the test class does any error occur?
Also if you could post your code then we can help you better.
Regards
Shubham Kumar