These commands were used when we implemented this feature. If you are using other commands feel free to share them as replies.
If you have trouble importing these reports, please ask for help on the dedicated "Get help" category.

Apex

Coverage

Execute the unit tests and generate the coverage report. This can be done using the following command:

Python

Coverage

Make sure to put all packages to measure into the --source parameter. That ensures that coverage will report zero coverage on all untouched files, as you most probably want to. To make this work, make sure to meet two prerequisites:

use Coverage Tool 3.4+

the packages should be packages, i.e. every directory on the way to the sources should contain an init.py file.