Menu

#28 coverage excludes

1.0
accepted
coverage (10)
Feature Request
2019-06-28
2019-06-27
Sven Beyer
No

Typical C++ coverage has a way to specify coverage excludes. It would be nice if some comment could be used to exclude code branches in nagelfar as well - so they are treated as if they do not exist and thus do not count towards the 100%.

Discussion

  • Peter Spjuth

    Peter Spjuth - 2019-06-27

    There is "##nagelfar nocover", which I see now is not mentioned in any docs.

     
  • Peter Spjuth

    Peter Spjuth - 2019-06-27
    • status: open --> accepted
    • assigned_to: Peter Spjuth
     
  • Peter Spjuth

    Peter Spjuth - 2019-06-27

    Updated code coverage documentation to mention this.

     
  • Sven Beyer

    Sven Beyer - 2019-06-28

    Great - will try it out.

     

Log in to post a comment.

MongoDB Logo MongoDB