chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
How to exclude methods and files from being included while taking code coverage?

We have certain methods and files for which we don't need to write unit test cases. How can we not include them in code coverage.
asked by parinitha.n (3.1k points)

If you are using MSTest and Isolator 8.5.2 or later, you have the

[ExcludeFromCodeCoverage] 

attribute. You can read about it here.

 

1 Answer

0 votes
at this time Typemock doesn't have a manual filter mechanism.

What would you expect?
answered by eli (5.1k points)
...