Duplicates in coverage

I've noticed that I get duplicate classes appearing in dotcover coverage results in team city.
I think it happens because some classes are hit by multiple tests but I am not sure.

Shouldn't teamcity/dotcover resolve these into one result, otherwise the stats become a bit meaningless.

2 comments
Comment actions Permalink

Please check you are not executing tests twice.
Often we see that people add test assembly patterns like **Test.dll, so they are resolved to both bin\**Test.dll and obj\**Test.dll copies of files.

0
Comment actions Permalink

That may well have been the problem. Since I posted I re-did the test configurations and split them out by test assembly and the problem has gone away, so I suspect you are right.

0

Please sign in to leave a comment.