Open eloidieme opened 8 months ago
Now coverage for the function is 92%. Only one non-covered branch left.
Finally, coverage is 100% with this second test added.
Notes: the function can be called directly in the test suite through the class it belongs to. It was easier to write new tests than to expand on existing tests. I didn't need to add additional interfaces.
Keep a record (copy) of your coverage before you start working on new tests. Furthermore, make sure you add the new tests on a different branch than the one you used for coverage instrumentation. Having identified “weak spots” in coverage, try to improve coverage with additional test cases.