I made a change to the code and When i try to do a code coverage via

Test > New run > Selected the test class > selected the method > Run

the code coverage is seen as 0% BUT when i do a "run all" the code coverage is updated to 100%. Why such a behavior? any inputs on this please?


1 Answer 1


If you try to execute run from dev console this issue

Issue link https://success.salesforce.com/issues_view?id=a1p30000000eMoyAAE (Note: If you are affected with issue please vote success community)

if you try to run from UI then properly test code updates.

This issue in Winter '16 orgs.

Hope salesforce will fix this issue soon.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .