Skip to content
New issue

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

Documentation incorrectly states that pytest-cov overrides data_file #461

Closed
JonathanRRogers opened this issue Mar 30, 2021 · 0 comments · Fixed by #543
Closed

Documentation incorrectly states that pytest-cov overrides data_file #461

JonathanRRogers opened this issue Mar 30, 2021 · 0 comments · Fixed by #543

Comments

@JonathanRRogers
Copy link

Summary

In the Configuration section of the documentation, an "Important Note" states, "This plugin overrides the data_file and parallel options of coverage. Unless you also run coverage without pytest-cov it’s pointless to set those options in your .coveragerc."

However, setting "data_file" in the coverage configuration file does have the desired effect per #145.

Versions

Python 2.7.17

This is pytest version 3.8.2, imported from /home/sscadmin/.local/share/virtualenvs/dev27/lib/python2.7/site-packages/pytest.pyc
setuptools registered plugins:
allure-pytest-2.6.5 at /home/sscadmin/.local/share/virtualenvs/dev27/lib/python2.7/site-packages/allure_pytest/plugin.py
flaky-3.7.0 at /home/sscadmin/.local/share/virtualenvs/dev27/lib/python2.7/site-packages/flaky/flaky_pytest_plugin.py
pytest-random-0.2 at /home/sscadmin/.local/share/virtualenvs/dev27/lib/python2.7/site-packages/random_plugin.py
pytest-timeout-1.4.2 at /home/sscadmin/.local/share/virtualenvs/dev27/lib/python2.7/site-packages/pytest_timeout.py
pytest-xdist-1.18.0 at /home/sscadmin/.local/share/virtualenvs/dev27/lib/python2.7/site-packages/xdist/plugin.py
pytest-xdist-1.18.0 at /home/sscadmin/.local/share/virtualenvs/dev27/lib/python2.7/site-packages/xdist/boxed.py
pytest-xdist-1.18.0 at /home/sscadmin/.local/share/virtualenvs/dev27/lib/python2.7/site-packages/xdist/looponfail.py
pytest-cov-2.9.0 at /home/sscadmin/.local/share/virtualenvs/dev27/lib/python2.7/site-packages/pytest_cov/plugin.py

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 a pull request may close this issue.

1 participant