CoverageMeter

Code Coverage Measurement for C/C++ and C#

Part III
Execution Agent Reference Manual

Chapter 19  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 20  Configuration

The menu entry "Configuration" permits to configure the Execution Agent(see screen shot 20). 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.
/pictures/executionagent_config.png pictures/coveragemeter015.png
Configuring CoverageMeter Execution Agent
Configuring CoverageMeter Execution Agent

Chapter 21  Usage

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

the dialog 21 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.
/pictures/executionagent_append_report.png pictures/coveragemeter016.png
Commenting new Execution Reports
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.