Coverage.py vs dotCover
Coverage.py
coverage.readthedocs.iodotCover
jetbrains.comSide by side
| Figure | Coverage.py | dotCover |
|---|---|---|
| Price from | Free | $50.75/mo |
| Free plan | Yes | — |
| Free trial | — | Yes |
| Open source | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 2 | 2 |
| Spec score · Test Coverage Tools | 8.9 (#2) | 8.3 (#7) |
| Purpose | Coverage.py measures which parts of Python programs ran and identifies executable code that did not run, commonly to gauge test effectiveness. | dotCover is a .NET unit test runner and code coverage tool that reports statement-level coverage. |
| Reports | It can produce text, HTML, XML, LCOV, and JSON reports. | Coverage data can be exported in HTML, XML, JSON, and XML for NDepend formats. |
| Security | The project directs vulnerability reports to Tidelift, which it says will coordinate the fix and disclosure. | JetBrains says its tools adhere to industry security standards including SOC 2 attestation and makes SOC 2 reports, penetration testing report summaries, and security questionnaires available in its Trust Center. |
| Support | Users can seek help on the Python discussion forums or Python Discord, report bugs on GitHub, and obtain professional support through Tidelift Subscription. | JetBrains provides technical support for product-related issues and directs users to its support resources. |
Plans
dotCover
- dotUltimate — individual$609 a year
- All Products Pack — individual$979 a year
In their own words
Coverage.py
Coverage.py measures which parts of Python programs run and highlights executable code that remains untouched, helping developers assess what their tests exercise. It measures statement coverage by default and can also track branch coverage. Reports are available as text, HTML, XML, LCOV, and JSON. Dynamic contexts can associate lines of execution with the test function that ran them. Coverage.py can run test suites through their usual command; pytest-cov is available but the documentation says most users do not need it. Third-party plugins can extend measurement to non-Python files, such as connecting executed Python to Django templates. Data is stored in a SQLite database, and advanced use can rely on its API. The current documentation lists Python 3.10 through 3.15 rc2 and PyPy3 versions 3.10 and 3.11. The tool provides ctrace, pytrace, and sysmon measurement cores; sysmon is faster for simple line and branch coverage but lacks support for dynamic contexts and plugins. Coverage.py is licensed under Apache 2.0 and runs on Linux, macOS, and Windows, with self-hosting available. It is free.