Closed LPGhatguy closed 6 years ago
A bit late, but I've implemented the second variation on master branch. Parsing blocks is indeed difficult in luacov, would need to import a full lexer/parser. Luacov does some limited lexing that allows it to figure out comments like that.
A new version with this feature will be released soon, within a week most likely.
Is there a succinct change log for 0.13 available anywhere?
@LPGhatguy it's in the documentation, doc/index.html
, or run luarocks doc luacov
if you have the new version installed. I forgot to push the new documentation to github pages, will fix.
Sometimes I have branches that I don't really care about coverage for, but having a bright red mark on the line/file in Coveralls is a shame.
A feature to have inline configuration comments would be useful, like:
If block parsing is too difficult in the context of luacov (and I imagine it is), this would be pretty handy: