JuliaCI / Coverage.jl

Take Julia code coverage and memory allocation results, do useful things with them
MIT License
174 stars 68 forks source link

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

Closed st-- closed 1 year ago

st-- commented 2 years ago

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?