Skip to content

issues Search Results · repo:pytest-dev/pytest-cov language:Python

Filter by

428 results
 (106 ms)

428 results

inpytest-dev/pytest-cov (press backspace or delete to remove)

Hi everyone, Consider this: import pytest @pytest.fixture def foo(): yield raise def test_a(): raise def test_b(foo): ... It provides this report: $ pytest [...]/tmp.py =============================================================================================== ...
  • ego-thales
  • 3
  • Opened 
    9 hours ago
  • #702

Hi there, I m not sure this is a pytest bug but here it goes. I have the following pyproject.toml configuration [tool.pytest.ini_options] testpaths = test addopts = [ --import-mode=importlib ...
  • ego-thales
  • 9
  • Opened 
    13 days ago
  • #701

The argument used to be called hookwrapper. Our code broke after this rename. File /usr/local/lib/python3.11/dist-packages/pytest_cov/plugin.py , line 318, in CovPlugin @pytest.hookimpl(wrapper=True) ...
  • ondras
  • 5
  • Opened 
    21 days ago
  • #698

Summary When I run my tests with the following command: pytest --html=reports/tests/index.html \ --junit-xml=reports/tests/junit.xml \ --cov=src \ --cov-report term \ --cov-report ...
  • JCHacking
  • 10
  • Opened 
    28 days ago
  • #694

Summary pytest-xdist and pytest-cov plugins cause an internal error when used together but only on pytest version 8.4.0 Expected vs actual result Expected pytest-xdist+pytest-cov to succeed. See the ...
bug
discussion needed
help wanted
  • rjdbcm
  • 37
  • Opened 
    on Jun 2
  • #693

Summary If pytest runs in e.g. ./tests/, it reads ../pyproject.toml for configuration options, and that squares with my expectation. pytest-cov does seem to look only for ./pyproject.toml (and also writes ...
  • madduck
  • Opened 
    on May 11
  • #692

--cov-report=term-missing tells us which line numbers aren’t covered, but you still have to open the file to see the actual code. Could we add a flag (something like --show-code) that prints the uncovered ...
  • gsganden
  • Opened 
    on May 8
  • #691

Summary It looks like pytest-cov handles case _ correctly, but with case _ as ... it considers the non-matching case to be an uncovered branch. This looks somewhat related to #533 but I think it s different ...
  • dseomn
  • 3
  • Opened 
    on May 5
  • #690

Hi! I use coverage contexts mainly to distinguish coverage from different tox environments with different python version and sometimes different libraries versions. coverage.py allows it by adding --context ...
discussion needed
enhancement
  • tkukushkin
  • 4
  • Opened 
    on Apr 21
  • #689

Summary I understand that pytest-cov uses coverage.py under the hood and coverage.py supports --format=markdown as an output option. Could this be added as an output format in pytest-cov? This would ...
  • beck3905
  • 3
  • Opened 
    on Apr 17
  • #688
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub