Skip to content
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

Document manual exclusion of lines/blocks from coverage count #326

Closed
st-- opened this issue Oct 13, 2021 · 0 comments · Fixed by #335
Closed

Document manual exclusion of lines/blocks from coverage count #326

st-- opened this issue Oct 13, 2021 · 0 comments · Fixed by #335

Comments

@st--
Copy link

st-- commented Oct 13, 2021

According to the source (https://github.com/JuliaCI/CoverageTools.jl/blob/master/src/CoverageTools.jl#L200), Coverage[Tools].jl does support manual exclusion of both individual lines (COV_EXCL_LINE anywhere on the line) and code blocks (anything between lines containing COV_EXCL_START and COV_EXCL_STOP, respectively). I was looking for this and it took me a while to figure out: could this be documented in the README please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant