Note that this plugin controls some options and setting the option in the config file will have no
effect. These include specifying source to be measured (source option) and all data file handling
(data_file and parallel options).

Limitations

For subprocess measurement environment variables must make it from the main process to the
subprocess. The python used by the subprocess must have nose-cov installed. The subprocess must
do normal site initialisation so that the environment variables can be detected and coverage
started.

Nose Multiprocess Plugin

The nose cov plugin partially works with the nose multiprocess plugin.

The nose multiprocess plugin does not join with its child processes so nose cov plugin has coverage
measured but can’t merge coverage results and report them.

Work around by using cov plugin and multiprocess plugin together to run tests, note coverage report
from this command will be incorrect:

nosetests --with-cov --processes=4 tests/

After there will be coverage data files for the main nose process and each subprocess:

Acknowledgements

Whilst this plugin has been built fresh from the ground up it has been influenced by the work done
on pytest-coverage (Ross Lawley, James Mills, Holger Krekel) and nose-cover (Jason Pellerin) which are
other coverage plugins.

Ned Batchelder for coverage and its ability to combine the coverage results of parallel runs.