New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coverage ignore option #624
Comments
It could be added (would work similar to ignore_for_file). Note though that this would take effect for all source_gen builder outputs that are combined into that file, which might be fine, but is worth keeping in mind. I would probably try and lean towards something a bit more general though than a coverage-specific thing. Not sure why ingore_for_file was implemented that way as a general approach would also have solved this use case :). |
Yep i agree a general approach would be the preferable solution. |
I spoke a bit with @kevmoo and it sounds like we agree this is a sensible feature to have - but I don't think either of us have the time to implement it at this time. We would accept a PR though, either with a specific option to ignore coverage (maybe |
Adds a preamble to CombiningBuilder as discussed in (#624).
See #636 (comment) |
er, preamble |
Hi,
is it possible to add an option to combining_builder which leads to the line
//coverage:ignore-file
beeing added on top of generated files. Or is there already an existing solution?Something like:
The text was updated successfully, but these errors were encountered: