You need to sign in to do that
Don't have an account?
Vamsi
testclass fails when executed through apex test handler and passes via developer console
Hi,
I have a test class, which seems to be passed when run through the developer console but when I run through the apex test execution it fails
Any thoughts would be appreciiated
Thanks..!!!
I have a test class, which seems to be passed when run through the developer console but when I run through the apex test execution it fails
Any thoughts would be appreciiated
Thanks..!!!
Just see in the Setup > Develop > Apex Test Execution screen does it show it failed with the error "Could not run tests on class {id}" then this is the same issue.
To resolve: click the "View Test History" link on this page, then press the "Clear Test Results" button as many times as it takes to purge all the history. This can take more than a few minutes, depending on the org.
Hope this helps you!
Please accept my solution as Best Answer if my reply was helpful. It will make it available for other as the proper solution. If you felt I went above and beyond, you can give me kudos.
Thanks and Regards
Sandhya