how to exclude a Web Reference from Code Coverage in VS 2008 Team System

Posted by Sarah Vessels on Stack Overflow See other posts from Stack Overflow or by Sarah Vessels
Published on 2010-03-12T16:30:09Z Indexed on 2010/03/12 16:37 UTC
Read the original article Hit count: 768

When I run my MSTest tests in Visual Studio 2008 Team System and get code coverage results, I always see a particular web service included. I don't care how well this web service is tested, I'm intentionally only using a small part of it. How can I exclude the Web Reference from showing up in my Code Coverage results?

I see that someone asked this very question over on Microsoft Connect and it's marked as postponed, but I was hoping someone knew of a workaround.

© Stack Overflow or respective owner

Related posts about code-coverage

Related posts about visual-studio-team-system