Once you've set up your LiveCoverage project, you can start testing.
Use the Start command on the Test
menu, the F5 key, or the
button on the Toolbar to start test coverage.
The middle-right area of the LiveCoverage Status Bar will let you know that test coverage is in progress with the phrase "Monitoring test coverage". It will also tell you how many executable files are in your project, and how many of them are currently running and being monitored for coverage.
Always check this area of the Status Bar when running a new project for the first time. When you see that your program is executing, make sure that LiveCoverage isn't reporting that zero executable files are running.
If you're using instrumentation, the Start command puts LiveCoverage in a "listening" mode, waiting for one of the executable files of your project to run. You must then start your program or testing process.
When your testing is complete, use the End
command on the Test menu, or the
button on the Toolbar. This will tell
LiveCoverage to stop test coverage monitoring and save the coverage results.
If you're not using instrumentation, LiveCoverage will immediately launch your program.
When your program terminates, LiveCoverage will stop test coverage monitoring and save the coverage results.
While test coverage is underway, LiveCoverage continuously updates the on-screen coverage results.
In the Summary Window, you can watch the number of bytes "hit" and the percent coverage increasing as your program executes. You can view the live results for an entire executable as well as for individual source files and procedures.
In a Source Window, you can watch lines of source code change from red to green as they are executed. You can even interact with the results for detailed source-level coverage. For example, you can mark source lines that have been "hit" as "missed" again, then try manual tests with your program to determine exactly what scenario caused the code to be hit. For more information, see the Excluded, Hidden, Hit, and Missed commands on the Edit menu.