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
'X'
refrences application
'Y'
s DLL .
I need code coverage of application
Y, 
when i run test through application
'X'
.
But all i m getting is code coverage for app
X
!
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?

3 comments

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

http://www.jetbrains.com

"Develop with pleasure!"

0

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.
Refer- http://devnet.jetbrains.net/message/5277861?

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.

Regards,
Ravinder



0

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?

0

Please sign in to leave a comment.