Using mamba's built-in support for coverage to compute mamba's own coverage
doesn't provide correct statistics, because by the time the CodeCoverageRunner
is set up, half the mamba code has already run.
This runs mamba using the coverage run command-line tool, which allows
coverage to hook in early in the import system and hence provide a correct
measurement.
Using mamba's built-in support for coverage to compute mamba's own coverage doesn't provide correct statistics, because by the time the CodeCoverageRunner is set up, half the mamba code has already run.
This runs mamba using the
coverage run
command-line tool, which allowscoverage
to hook in early in the import system and hence provide a correct measurement.