-
Notifications
You must be signed in to change notification settings - Fork 184
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
[proposal] exclude generated files from code coverage #768
Comments
Sorry I replied to the original version of your issue (before the edits). I think this makes sense. I'm on vacation this week but we'll discuss this next week and then I'll update. |
Hi @iapicca. We discussed this briefly and coverage devs opened an issue for adding a command line flag to coverage to ignore files: dart-lang/tools#510. This coverage feature is much more general, you can ignore files generated by other code generators as well, and with that feature we don't need to change anything in this library. |
Use case
currently generated files negatively affect code coverage
Proposal
add the comment
// coverage:ignore-file
,made available by dart tools coverage (see dart-archive/coverage#302),
to the generate files to exclude these from coverage
cc @osa1
The text was updated successfully, but these errors were encountered: