Exclude VS generated code from count ? (WCF proxies)

In VisualStudio 2010, if you add a WCF service reference to a webservice, then the Microsoft generated code for the WCF proxies gets included in the code coverage count, which drags the percentage way down.

Is there a way for dotCover to exclude such VisualStudio tool-generated code ?

0
1 comment

Hello Andrew,
You can use coverage filters to filter out unnecessary code from coverage results.
Here is a tutorial:
http://blogs.jetbrains.com/dotnet/2010/07/filtering-with-dotcover/

0

Please sign in to leave a comment.