-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add JSON format to --cov-report #445
Comments
There's a suggestion in #337 that pytest-cov should do less, to simplify pytest-cov, and that coverage.py should be used for more things. |
I like what I read @hugovk, thanks for the heads-up! |
Given that issue has been open for three and a half years with no traction, I think support for JSON should be implemented in this plugin. What kind of overhead is there? I'd be happy to do the work to contribute it. |
Turns out the implementation wasn't very complicated, so I went ahead and did it: #582 I appreciate the points made in #337, but I think the consensus there is that the maintainers should build a new library that does less, rather than releasing a new major version of this library that's essentially a totally different project anyway. Therefore I think it's appropriate that straightforward modifications to expose additional trivial functionality in coverage.py should still be added to this project. |
Thansk a lot @mwgamble! I agree with your assessment, especially after looking at your implementation (which is simple enough). |
Help me understand why running |
|
Before proposing please consider:
coverage.py
is usedpytest plugin or something else) → it is already implemented in
coverage.py
so it should not be too difficult to addSummary
These questions should be answered:
The text was updated successfully, but these errors were encountered: