You need to sign in to do that
Don't have an account?
msneller
Apex code coverage reporting incorrectly
When deploying some updates to exiting apex classes, the deploy is failing because it says 0% code coverage. When I check coverage in the developer console it shows 83% coverage. Not sure what is going on. This just starting happening this week, I deployed a few changes last week without issue. Nothing has been changed or packages added in the meantime. I've had this issue in the past, but usally went away after 24 hours. Any ideas? Is this a bug?
It may be that you have made the changes to the controller however the test class is not reflecting this change and as a result failing, giving you 0% code coverage.
All Answers
It may be that you have made the changes to the controller however the test class is not reflecting this change and as a result failing, giving you 0% code coverage.