pytest-cov
pytest-cov copied to clipboard
Coverage plugin for pytest.
# Summary Trying to run `pytest-cov` in parallel but getting a unique key constraint on the .coverage SQLite3 database. ## Expected vs actual result Here's the traceback from the run:...
I'm currently try to setup automatic code coverage into vscode. the only available plugin require that coverage output is set as lcov format. This format support had been integrated recently...
Im trying to download StormBreaker and this error pops up evry time i try to use the command "sudo python3 Storm-Breaker.py": Traceback (most recent call last): File "/home/kali/Storm-Breaker/Storm-Breaker.py", line 36,...
Consider the following code: ``` from enum import Enum class MyEnum(Enum): A = 1 B = 2 C = 3 def print_value(x: MyEnum) -> None: match x: case MyEnum.A: print("A")...
I tried generating a coverage report using `pytest --cov-report=html --cov srmb` and got `RecursionError: maximum recursion depth exceeded`: ``` INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/Users/pownissa/anaconda3/lib/python3.7/site-packages/_pytest/main.py", line 257,...
# Summary Original issue has been opened at coveragepy: https://github.com/nedbat/coveragepy/issues/1355. I get CoverageWarning: --include is ignored because --source is set (include-ignored) self.warn("--include is ignored because --source is set", slug="include-ignored") although...
# Summary A useful feature of Coverage is to sort the report by the reported metrics ([docs](https://coverage.readthedocs.io/en/coverage-5.4/cmd.html#coverage-summary-coverage-report)), rather than just by filename. Especially in legacy or unfamiliar code, sorting by...
[Coveragepy](https://github.com/nedbat/coveragepy) offers the option `--pylib` to record coverage in third party code like the standard library or installed packages. So far I have not found this option in pytest-cov, does...
# Summary I am currently working on the integration of *pytest-cov* into a custom *pytest* plugin. As I want to find files with no coverage as well, I am trying...
Hi, I have encountered a strange problem with pytest-cov I am writing a package to be included in other products. I want do provide some fixtures for mocking my package...