devdept;13574 wrote:Hi Remco,
Regarding this, does it mean that afterward code coverage will not be 100% accurate? It would be a big problem for us.
Thanks,
Alberto
Not necessarily. It depends upon the extent to which you use it.
When you suppress code coverage for a region of code, NCrunch won't consider that code to be part of the code coverage calculation. So it won't consider this code to be covered or uncovered (it's considered 'not code').
So if you're doing this for large regions of code, it may have a slight impact on your overall metric, but it won't sway it much in one direction or the other.
Note that it is impossible for any tool to track code coverage without some level of performance impact.