sean717
sean717

Reputation: 12663

Exempt code from Code Coverage in Visual Studio 2010

In Visual Studio 2010, a project is included for Code Coverage analysis. Is there any way I can exempt file(s) from this project from code coverage?

Thanks,

Upvotes: 0

Views: 154

Answers (1)

Shaun Wilde
Shaun Wilde

Reputation: 8358

If .NET you can exclude classes/methods etc using the ExcludeFromCodeCoverage attribute

Upvotes: 1

Related Questions