UnitTestCoverage - Remove coverage for .netFramework for contracts dll

81 Views Asked by At

I'm using DotCover to calculate my code coverage %. My contract project is compiled into .net Framework code and .net core.. Since my unit tests are in .net code the code coverage for the contract project in .net framework is 0%.

How do I filter out the .net framework code? Can't find any DotCover filter to do it. enter image description here

1

There are 1 best solutions below

2
Alexander Kurakin On

I would suggest you look at ReSharper | Options | dotCover | Filtering page, where you can set up some runtime coverage filters or coverage result filters.