Measuring Branch Coverage

CoView is designed to measure path coverage from your JUnit tests in a few simple steps.

Step 1: Run your tests

To get branch coverage from your JUnit tests, you must run them through the CoView JUnit Runner. To do so:

  • 1. Open the CoView Perspective by selecting CoView > Open Perspective
  • 2.Through the Package Explorer, run the test case with the CoView JUnit Runner (right click on test case, select Run As > CoView JUnit Runner)
  • 3. The CoView Quality Manager View will then be updated with branch coverage.
CoView Quality View with Branch Coverage