Tea-n-Tech / professional-python

Professional python development guide and tutorial.
MIT License
11 stars 2 forks source link

missing pytest-cov dependency for coverage section of lesson on docs #5

Closed adnene-guessoum closed 2 years ago

adnene-guessoum commented 2 years ago

Hi again,

I couldn't get a coverage report and found out that the --cov and --cov-report argument in the test task of Taskfile.yaml need the "pytest-cov" package to be passed to pytest.

"poetry add --group dev pytest-cov" worked fine for me.

see you ;)