coveragepy
coveragepy copied to clipboard
The code coverage tool for Python
I tried compiling Coverage with Mypyc, the compiler that comes with Mypy. Mypyc is pretty stringent about what it expects, and addressing some of its objections will require some design...
This patch makes the quality workflow definition into reusable. It doesn't need to track the same triggers and conditions as the main one. Additionally, the `alls-green` check can now take...
**Describe the bug** coverage.py isn't working for the processes that are not spawned, celery uses prefork model to create processes **To Reproduce** How can we reproduce the problem? Please *be...
**Describe the bug** I get an error instead of a report when running coverage on the following code. **To Reproduce** How can we reproduce the problem? Please *be specific*. Don't...
*Originally reported by* **Thomas Pansino (Bitbucket: [tpansino](https://bitbucket.org/tpansino), GitHub: [tpansino](https://github.com/tpansino))** ---------------------------------------- Coming from the Perl world with its excellent [`Devel::Cover`](http://search.cpan.org/~pjcj/Devel-Cover-1.29/lib/Devel/Cover.pm) module, I'm quite surprised that the most popular equivalent coverage package...
Hey :) First of all: Thank you very much for your fantastic software! I am now referring to: https://coverage.readthedocs.io/en/7.2.7/cmd.html#cmd-annotate > The **annotate** command has been obsoleted by more modern reporting...
Ability to dynamically exclude/include coverage during the code execution (@covers from PHPUnit).
In PHPunit there is [@covers](https://phpunit.readthedocs.io/en/7.3/annotations.html#covers) annotation to specify which classes/methods/functions are covered by a specific unit test. This helps avoiding false-coverage. If a test has this annotation then any code...
**Describe the bug** In my flask project, running through pytest with the pytest-flask plugin, a subprocess gets started. I get two .coverage..* files that get generated, but the report shows...
Possible fixup; could resolve #1488 (if that's confirmed to be a bug worth addressing).
*Originally reported by* **Marc Schlaich (Bitbucket: [schlamar](https://bitbucket.org/schlamar), GitHub: [schlamar](https://github.com/schlamar))** ---------------------------------------- This is a follow up from [my comment](#198/continue-marked-as-not-covered#comment-9167915) in #198. Consider the case: ``` #!python def test(a, b): if a...