[4.14.0.7]
[ExcludeFromCodeCoverage] attribute seems to be "ignored" for local functions, is this due to technical limitations or a bug?
[img=https://i.imgur.com/8434r27.png]screenshot[/img]
p.s. maybe include some info about this attribute and its limitation in NCrunch in https://www.ncrunch.net/documentation/concepts_code-coverage-suppression ? d.s.
Daily Usage Issues
ExcludeFromCodeCoverage not supported for local functions?
Started by GreenMoose on 1,463 views
My bad, just realized it is the LINQ expression only that is covered. The rest of function on line 34-40 it is actually being ignored.
(And the coverage behavior for LINQ thing is to be expected, and workaround is to use NCrunch suppression comments).
(And the coverage behavior for LINQ thing is to be expected, and workaround is to use NCrunch suppression comments).
Edited 15 Jul 2023 12:35 UTC
Post a reply
Log in to reply.