You need to sign in to do that
Don't have an account?
Holly Ruhland
cannot run test on class
I am not able to run tests in either of our sandboxes. I always get the error "Could not run tests on class<ID> ." I have tried clearing test history, verifying and modifying my options. Compiling all class and then estimating my orgs code coverage and running all tests. Almost every class was failing with the error. I had another admin run the test and it worked. I logged in as her and it did not work, same error. I tried on IE, Chrome, and Firefox as well as a different machine, same error. When I deployed the trigger and test to another sandbox, same error. I deployed to prod using the other admin's code coverage and ran the test in production and it worked. The trigger and unit test are not the problem.
its known issue. kinldy have a look for workarounds.
https://success.salesforce.com/issues_view?id=a1p30000000T0FeAAK
Hope this will helps you.
Thanks
karthik