Can dotCover measure coverage on references?
Is it possible to use dotCover to measure coverage on a referenced dll? The test project I am developing is testing a dll which is included as a reference. Currently when I run the dotCover on the project the reference is greyed out:
Any ideas?
Cheers,
Andrew
Please sign in to leave a comment.
Hello Andrew,
To get full plain list of assemblies included into report you can uncheck "match with current project structure" option.
Also please make sure that assemblies you are interested in have PDBs and that they are not filtered out by coverage filters.
Hey Ruslan,
Where do I find that option? I am using version 1.0.119.3 from the EAP. I do have pdbs in the same folder that the dlls are located. I have no coverage filters at the moment.
Cheers
Andrew
It can be found in coverage results panel (see screenshot)
Best Regards,
Ruslan
Thank you that did the trick! Although a note for your development is that if it is used in conjunction with Visual NUnit at the same time as running an application in a pre-build step, the coverage only shows results for the pre-build application. If I run the debugger in the normal way through NUnit then the coverage operates correctly.
Cheers,
Andrew