I have a Python project and a
tests
pytest
Run 'tests' with coverage
Run
mws.py
I think the problem lies in you use pytest-cov
, so Pycharm cannot parse the result which is shown in text like 53%
generated by pytest-cov
;
So Changes option in pytest.ini
to addopts = -s -v
when you want to use Pycharm built in coverage tools.