8

Closed

'Coverage analysis failed' with ReSharper 6 and xunitcontrib

description

dotCover does not seem to work at all with xunitcontrib and ReSharper 6, failing with "Coverage analysis failed (No snapshots created)".

This is apparently because "xUnit contrib doesn't include AssemblyLoadTask"

More here:

http://youtrack.jetbrains.net/issue/DCVR-2961
Closed Nov 28, 2011 at 10:51 PM by mattellis
Released in xunitcontrib-resharper 0.5

comments

ketiko wrote Aug 5, 2011 at 7:19 PM

Can we bump up the priority on this? Not being able to run code coverage is kind of a big deal.

ketiko wrote Aug 9, 2011 at 3:30 PM

I have tested the pull request and dotCover 1.1 now works with Resharper 6.0 and xUnit 1.8. Thanks!

mattellis wrote Aug 12, 2011 at 9:52 PM

I've applied Remo's pull request. It's checked into changeset 00bc363a1bb1.

I'm not going to do a binary release just yet, though. This change causes an extra unnecessary AppDomain to be created when running tests, and I'd rather not do that. I'll leave this work item open until it's fixed appropriately.

Thanks Remo!

nrieck wrote Sep 13, 2011 at 12:18 PM

It also runs every test twice.

mattellis wrote Oct 24, 2011 at 12:09 AM

Fixed in changeset 95f84beab1ba

mattellis wrote Nov 14, 2011 at 7:42 PM

Fixed in changeset 7f064ab3d27d