Pytest-watch with coverage (If not existent) #12184
Replies: 2 comments
-
Looks like Converting this to a discussion, since there's nothing actionable for pytest core here. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick answer. As far I understand, add a runner command should do the trick. However, it does not.
@The-Compiler also mentioned about running command
|
Beta Was this translation helpful? Give feedback.
-
What's the problem this feature will solve?
I can:
pytest-cov
with command runcoverage run --rcfile=.coveragerc -m pytest
.coverage report --show-missing
.ptw --quiet --spool 200 --clear --nobeep --config pytest.ini --ext=.py --onfail="echo Tests failed, fix the issues" -v
I would like to have a way to watch coverage while testing as well. May you enlight me?
Describe the solution you'd like
I wrote following bash script ith desired solution:
Alternative Solutions
I have not found the proper way to proceed.
Beta Was this translation helpful? Give feedback.
All reactions