We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What's the problem this feature will solve?
Currently, pip does not have any coverage tracking integrated into its test suite. This comes with a few downsides:
The current tox environment configured with coverage-py3 is limited to unit tests only.
coverage-py3
Describe the solution you'd like
In a separate tox target, configure pytest-cov/coverage to:
pytest-cov
coverage
script
virtualenv
tests/conftest.py -> virtualenv_template
build_env.BuildEnvironment.install_requirements
if MYPY_CHECK_RUNNING
-n
If it helps, this could be done in Python 3 only (at first).
I have a basic first implementation here, but when combining the coverage reports the records from the integration tests seemed to be dropped.
Alternative Solutions
Additional context
The text was updated successfully, but these errors were encountered:
I'd call this done once we have it mentioned in the docs, along with the instructions for generating the report as mentioned in #7416.
Sorry, something went wrong.
I think there's a couple more things to do before we close this:
No branches or pull requests
What's the problem this feature will solve?
Currently, pip does not have any coverage tracking integrated into its test suite. This comes with a few downsides:
The current tox environment configured with
coverage-py3
is limited to unit tests only.Describe the solution you'd like
In a separate tox target, configure
pytest-cov
/coverage
to:script
/virtualenv
pytest fixture (seetests/conftest.py -> virtualenv_template
)build_env.BuildEnvironment.install_requirements
if MYPY_CHECK_RUNNING
)-n
option)If it helps, this could be done in Python 3 only (at first).
I have a basic first implementation here, but when combining the coverage reports the records from the integration tests seemed to be dropped.
Alternative Solutions
Additional context
The text was updated successfully, but these errors were encountered: