I received this error recently while running test classes "Unable to run testclass for Class ID....".
The test class ran for a while before spewing out this error. There were 10-12 test methods in the test class but none of them showed as success.
Solutions
Go to Setup-->Develop-->Apex Test Class Execution.
Click on the Select Options button.
Uncheck Disable Parallel Testing and the Store Aggregate code coverage and run your tests again.
If you find that your tests run successfully you can try and check them back and re-run your tests.
It's just one of the things which worked me; nothing with a definitive logic here.
The test class ran for a while before spewing out this error. There were 10-12 test methods in the test class but none of them showed as success.
Solutions
Go to Setup-->Develop-->Apex Test Class Execution.
Click on the Select Options button.
Uncheck Disable Parallel Testing and the Store Aggregate code coverage and run your tests again.
If you find that your tests run successfully you can try and check them back and re-run your tests.
It's just one of the things which worked me; nothing with a definitive logic here.
No comments:
Post a Comment