Annotate generated methods/operators with [ExcludeFromCodeCoverage]
dahlia opened this issue · comments
Hong Minhee (洪 民憙) commented
I'm submitting a…
- Feature request
Current behavior
Methods generated by Uno.CodeGen usually do not have unit tests, but it makes code coverage reports find them not covered.
Expected behavior
It would be good if generated code are excluded by code coverage reports. FYI several coverage tools are aware of ExcludeFromCodeCoverageAttribute
.
Minimal reproduction of the problem with instructions
It can be reproduced by running coverage tools like dotCover or OpenCover.
Carl de Billy commented
The generated attributes should be configureable.