Ticket #17 (new requirement)

Opened 4 years ago

coverage reporting

Reported by: ecn Assigned to: ecn
Priority: major Milestone:
Component: Test Version: 1.0
Keywords: Cc:

Description

After running test, evaluate their effectiveness by establishing how much of the code was covered by the test. Aim for 100% coverage:

  • 100% is easily measured and <100% is an easy change to spot
  • 100% allows you to find dead and unreachable code fragments
  • 100% ensures that all error handling works in cases that are difficult to reproduce in non-test environments

Bonus: send warning messages for code that drops below 100% coverage.

Bonus 2: track coverage over time to encourage improvement.