DotCover not showing coverage for referenced assemblies

i donwloaded the

dotcover 1.1.1
for evaluation.
We use an automation framework to run regression test where application
refrences application
s DLL .
I need code coverage of application
when i run test through application
But all i m getting is code coverage for app
And yes all the requied dll,exe and pdb files are in the same bin directory which is working directory.
This is not the case with other code coverage tool.
Could you please suggest where i may be going wrong?

Andrey Serebryansky
Comment actions Permalink

Hello Ravinder

I'm afraid I wasn't able to reproduce this behavior. Could you please attach a small sample solution with exact repro steps? Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

"Develop with pleasure!"

Comment actions Permalink

Hello Andrey

I was able to reproduce the exact behaviour 100% times. Though Using DotCover GUI and unchecking "match with current project structure" option before starting Profiling for coverage allows coverage on referenced DLL's as well.

But when i use the command prompt then referenced dll's are not covered.

The exact  command used was:----

[Path]\bin> %DotCoverBin%\dotcover.exe /targetExecutable="XXX" /targetArgument="123" /output="cover.snap"

Where [path]=Test solution path which tests another application 'Y'. all the referenced DLL's of 'Y' are in same bin directory with pdb file.


Comment actions Permalink

Hello Ravinder,
How do you view the results obtained from the console runner?
Do you open resulting snapshot in VS or generate one of the reports afterwards?


Please sign in to leave a comment.