-
Notifications
You must be signed in to change notification settings - Fork 178
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
feature request: ignore one line #219
Comments
RKushnir
added a commit
to RKushnir/excoveralls
that referenced
this issue
Feb 19, 2023
Allows to ignore the coverage for the following line of code, by putting a new type of comment `# coveralls-ignore-next-line`. Ignoring a single line is a common use case, which currently can be done by wrapping the code between the "start" and "stop" comments. If we can achieve the same with just one comment, this produces less visual noise and leaves more space for the useful code. Resolves parroty#219
Merged
👍 Thanks @RKushnir for the implementation, I'd love to see this getting merged :) |
parroty
pushed a commit
that referenced
this issue
Mar 2, 2023
* Ignore single next line Allows to ignore the coverage for the following line of code, by putting a new type of comment `# coveralls-ignore-next-line`. Ignoring a single line is a common use case, which currently can be done by wrapping the code between the "start" and "stop" comments. If we can achieve the same with just one comment, this produces less visual noise and leaves more space for the useful code. Resolves #219 * Mention the new type of comment in the readme
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using phoenix, I find that many
use
statements get tagged as not tested eguse MyAppWeb, :view
It would be nice to have the ability to ignore just the next line, eg
# coveralls-ignore-next-line
Otherwise my formatter ends up spacing out the comments so what could be two lines takes five:
Just a small thing. Thank you for all your work on this project!
The text was updated successfully, but these errors were encountered: