You need to sign in to do that
Don't have an account?
Know exact code coverage
HI,
I am facing problems regarding code coverage. Please help me out.
My current overall code coverage is 82 % with all triggers have at least 75% code coverage. But when i am trying to upload my package it says 'UPLOAD FAILD' with error 'current code coverage is 58%’. I haven't any clues why this happen. I also removed seeAllData=true annotation and all my test methods passed successfully. I also cross-checked with developer console to run all test and it also gives me 82%.
I opened case and that guy says 'our developer console is buggy and code coverage on class page is estimated code coverage so don't rely on that'
Where should i find exact and accurate code coverage??
Please help me out if i missed something or another way to find correct code coverage. or it is salesforce bug??
Thanks.
With the summer 14 release code coverage has became a real issue. Sometimes it is showing 0%, sometimes correctly.
Also happened to me while uploading a package a test failure came, but actually there was no test failure. Then again I tried to upload the package and the uploaded successfully.
If you got your coverage as 82%,then try again to upload.
Thanks