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

Test class passed in Eclipse but not in Developer in console
Hi Friends...
I run a test class in eclipse and passed with coverage of 82%. If I run in apex execution, the status symbol appearing as red and the result displaying as "Could not run tests on class Class Id but if I click on the class in apex execution page the methods of test class are passing with result as Pass.
What could be the reason of this kind error... Please post your comments if you have any Idea regarding this.
Hi,
You need to do two things when you are on page "Apex Test Execution"
Click on
1. view Test history ----> Clear Test Results
2. Options ----> check "Disable Parallel testing"
After doing above then run your test , you'll get that green check
Mark as Solution if this Helps you with kudos (Star)
All Answers
@ShivaKarthik,
This happens many a times. Try to clear the code coverage in org and then try. Eclipse gives accurate code coverage results.
Hi,
You need to do two things when you are on page "Apex Test Execution"
Click on
1. view Test history ----> Clear Test Results
2. Options ----> check "Disable Parallel testing"
After doing above then run your test , you'll get that green check
Mark as Solution if this Helps you with kudos (Star)
this is because of new versions introduced by salesforce, nothing to worry about. one more thing where are my kudos(Star)? :D
Check this link
https://success.salesforce.com/issues_view?id=a1p30000000T0FeAAK