On the previous page, the format of the report produced by Cube was described. If you run cube_ins.exe and exit the program this will create cube.ctr. You can see the effect of your actions on the coverage analysis results by running the program twice, executing more of the program the second time:

  1. On the first occasion, simply go into the program, run the animation and exit. Look at the report. The check on the execution of "CAboutDlg" near the start of the report should have failed.
  2. To increase the coverage we must exercise the "CAboutDlg" function. If you now run the program again, this time select "Help, About, OK" from the menu bar. This time you should see that the check on the execution of "CAboutDlg" has passed.

This example serves to illustrate how easily the coverage analysis facilities of Cantata++ can be used at the application level.