Skip to content

Properly measure mamba's own coverage#72

Open
angelsanzn wants to merge 1 commit intonestorsalceda:masterfrom
angelsanzn:fix-coverage
Open

Properly measure mamba's own coverage#72
angelsanzn wants to merge 1 commit intonestorsalceda:masterfrom
angelsanzn:fix-coverage

Conversation

@angelsanzn
Copy link
Copy Markdown
Contributor

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 allows
`coverage` to hook in early in the import system and hence provide a correct
measurement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant