Code Coverage is not enabled for this test run

Ed Blankenship
EdSquared
Published in
1 min readSep 16, 2007

Have you ever seen this? Scratch your head for hours? What the heck is wrong, all I want to see is my Code Coverage from my tests!!!!

No worries, I get asked this question everyday. Here is how to make sure you instrument Code Coverage during your tests.

Here is what you probably see:

NotWorking

Go to the “Test” menu on your tool bar and “Edit your Test Run Configurations”

SelectTestMenu

Click on the “Code Coverage” List Item and select the artifacts to instrument:

SelectApp

Now rerun your test(s) and you will have code coverage :)

Thanks,

Ed K.

Originally authored by Ed Kisinger at https://edsquared.com/2007/09/16/Code+Coverage+Is+Not+Enabled+For+This+Test+Run.aspx

--

--

EdSquared
EdSquared

Published in EdSquared

Thoughts about building software more effectively and efficiently. We love DevOps!

Ed Blankenship
Ed Blankenship

Written by Ed Blankenship

Product Director at Akeneo | Formerly at Contentful, Algorithmia, and Microsoft in DevOps