joeyespo / pytest-watch

Local continuous test runner with pytest and watchdog.
MIT License
737 stars 52 forks source link

Integration with pytest-cov #116

Closed C0DK closed 4 years ago

C0DK commented 4 years ago

Currently i cannot, in anyway i can see, generate a coverage report while using your tools. This saddens me as i have to run that additionally once in a while.

marcinowski commented 4 years ago

Correct me if I'm wrong but I think you're able to run any additional pytest command with ptw -- like for example ptw -- --cov for coverage.

$ ptw --help
Usage: ptw [options] [--ignore <dir>...] [<directory>...] [-- <pytest-args>...]
C0DK commented 4 years ago

Yes sorry, I was stupid haha.