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'm wondering if you've considered (or would consider a PR) implementing support for diff_cover?
I'm thinking something like pytest --cov --cov-report=term-diff, which would essentially run diff_cover and add it to the report? I took a stab at implementing this as an independent pytest plugin (that would in turn use pytest-cov), but found that it was rather difficult (and probably bad form) to essentially modify the pytest-cov plugin instance to achieve this.
I'm happy to open PR trying to implement this, but wanted to gauge interest first. thanks!
The text was updated successfully, but these errors were encountered:
yep, a two step process is definitely an alternative :) ... but you could make a similar argument for reports in general right? Why not just run coverage report after running pytest --cov to generate the xml?
I'm wondering if you've considered (or would consider a PR) implementing support for
diff_cover
?I'm thinking something like
pytest --cov --cov-report=term-diff
, which would essentially run diff_cover and add it to the report? I took a stab at implementing this as an independent pytest plugin (that would in turn use pytest-cov), but found that it was rather difficult (and probably bad form) to essentially modify the pytest-cov plugin instance to achieve this.I'm happy to open PR trying to implement this, but wanted to gauge interest first. thanks!
The text was updated successfully, but these errors were encountered: