gobco icon indicating copy to clipboard operation
gobco copied to clipboard

Record statistics on which test covers which condition

Open rillig opened this issue 5 years ago • 0 comments

Assuming that gobco would output which test covers which condition, it would be possible to answer questions like the following:

  • For each testee, is there a test that covers all branches of that testee? (minimal unit tests)
  • Which tests are necessary to get 100% branch coverage for a given testee?

Implementation ideas:

  • Have an additional list of test names for each condition, possibly indirectly by mapping the test name to an int for performance.
  • Extend the gobco JSON output with this list of tests.

rillig avatar Nov 08 '19 20:11 rillig