You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to run pytest in watch mode using package pytest-watch. However, when I want to see the code coverage with pytest-cov, I have to run command below. Can you provide a watch mode for pytest-cov as well
Activity
nedbat commentedon Oct 1, 2024
You might like
entr(http://eradman.com/entrproject/) which runs arbitrary commands when files change. Is there a reason this has to be tightly integrated with pytest?brunolnetto commentedon Oct 1, 2024
Well, for the same reason pytest-watch is a great dev tool.
nedbat commentedon Oct 2, 2024
Can you explain why? What does it do that works better than
entr?brunolnetto commentedon Oct 2, 2024
Sure. The arguments are twofolded:
entr, having a tag like '--watch' i.e. '-w' would make the experience valuable;