Pytest 7.2.2 failed to create test-coverage report. Error: CoverageWarning: No data was collected. (no-data-collected) #10802
Unanswered
EvilLogitech
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just started to learn programming)
Using Ubuntu on WSL, python, 3.10.6
Changing pytest version to 7.1.3 (like in school project) solved my problem
Failed confiruration:
platform linux -- Python 3.10.6, pytest-7.2.2, pluggy-1.0.0
rootdir: /home/ice/python-project-50, configfile: setup.cfg
plugins: cov-4.0.0
Good configuration:
platform linux -- Python 3.10.6, pytest-7.1.3, pluggy-1.0.0
rootdir: /home/ice/python-project-50, configfile: setup.cfg
plugins: cov-4.0.0
Beta Was this translation helpful? Give feedback.
All reactions