Technical topic: Code Coverage
The need
Critical systems must be heavily tested. As part of the usual validation phase, it is important to ensure that tests exist to cover all the instructions and branches in the code. To achieve this one tool is to measure the code coverage at runtime. TASTE offers facilities to do that.
How to do it
Open your deployment view and on the bottom-left corner of Space Creator, select the "Coverage" target:
You can then run the system with the "Run" button of Space Creator.
After the run completes, you will see a new folder appear in your workspace with the coverage data that was collected:
You can open this file with your browser to view the coverage data:
With the command line
Alternatively, assuming your deployment view is called "mydeployment.dv.xml" you can run from the project folder:
$ make mydeployment coverage run