Using isCOBOL Code Coverage and isCOBOL Unit Test together
isCOBOL Code Coverage and isCOBOL Unit Test can be used together by activating both runtime options on the runtime command line or by invoking the dedicated Run Configuration from the isCOBOL Coverage History in the IDE.
In order to use both features on the command line, use a command like this:
iscrun -c iut.cfg -iut -J-ea -coverage |
The file generated by the Unit Test engine becomes the main document and clicking on a program name in that document you can reach the coverage report of that program:
1. click on Run in the menu bar,
2. choose isCOBOL Coverage History,
3. select the Run Configuration previously created.
The
Coverage view and the
isUnit view will show the report of the test.