pytest-dev / pytest-cov

Coverage plugin for pytest.
MIT License
1.76k stars 212 forks source link

Add support for JSON reporter #582

Closed mwgamble closed 1 year ago

mwgamble commented 1 year ago

This exposes an additional reporter that's provided by coverage.py. The implementation is basically a carbon copy of the code that powers the XML implementation.

Fixes #445

hugovk commented 1 year ago

I wouldn't worry about the Python 3.6 failure, it's no longer supported by GitHub Actions and will be removed by https://github.com/pytest-dev/pytest-cov/pull/567.

cclauss commented 1 year ago

Please rebase.

mwgamble commented 1 year ago

@cclauss done :+1:

mwgamble commented 1 year ago

@cclauss Is there anything more I need to do to get this merged?

ionelmc commented 1 year ago

Rebased in master. Will release in 4.1 later today if no objections.