When I run the coverage example to report on missing lines, I get:
pytest --cov=cards --report=term-missing ch7
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --report=term-missing
It works fine when I run coverage report --show-missing
.
Digging a bit in the options shows that this line should be: pytest --cov=cards --cov-report=term-missing ch7
(the prefix cov-
is missing in the cov-report
option).