I’m running into the following problem/message:
Coverage.py warning: No data was collected. (no-data-collected)
When I’m in a virtual environment (locally) and execute the following line (in the project root), everything seems to work and all the reports (junit AND coverage xml/html) are generated:
To me it looks like the orb does what it’s suppposed to do. There is just no coverage data.
Am i using the codecoverage correctly with Pytest when calling:
python -m pytest --junitxml=test-reports/test-results.xml --cov=./ --cov-report=xml --cov-report=html
?