CoverageMeter
Code Coverage Measurement for C/C++

Part III
Execution Agent Reference Manual

Chapter 17  Introduction

CoverageMeter Execution Agent is a simple graphical interface dedicated to manual tests. The Execution Agent function is to copy the last execution report generated by an application to a new execution report and to enhance it with a title and an execution status. It does not require the instrumentation database (.csmes file) and so can be used for black box testing.

Chapter 18  Configuration

The menu entry "Configuration" permits to configure the Execution Agent(see screen shot 18.1). It consists only of specifying the path of 2 files:

Execution Report Input
Path of the execution report (.csexe file) generated by the application currently tested.
Execution Report Output
Output file name on which a new execution report (.csexe file) will be saved. This file will not be deleted by the Execution Agent and all new executions will be appended.

coveragemeter014.gif
Figure 18.1: Configuring CoverageMeter Execution Agent

Chapter 19  Usage

Once started and configured, the Execution Agent (identified with the icon executionagent.png) behaves like a daemon and reacts on each modification of the execution report file selected as input:

the dialog 19.1 is automatically opened1 and permits to save the last execution report into the output file with an appropriate title and status (passed or failed).
This behaviour permits to comment interactive tests as follows:

  1. Start the application to test which is compiled with CoverageScanner. On exits, it generates an execution report.
  2. Once generated, the Execution Agent asks for test title and its status.

coveragemeter015.gif
Figure 19.1: Commenting new Execution Reports

Only the last execution report generated will be processed. If more than one are generated, the first reports are lost.

1
The menu entry "Append Last Execution Report" permits also to open it.