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
Welcome to Typemock Answers. Here you can ask and receive answers from other community members. And if you liked or disliked an answer or thread: react with an up- or downvote Enjoy!

How to exclude a method and file from code coverage?

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 Feb 13, 2017 by parinitha.n (3,100 points)

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


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 Feb 23, 2017 by eli (5,060 points)