Skip to content

Add pytest-cov plugin#1138

Closed
kelvins wants to merge 1 commit intovinta:masterfrom
kelvins:add_pytest_cov
Closed

Add pytest-cov plugin#1138
kelvins wants to merge 1 commit intovinta:masterfrom
kelvins:add_pytest_cov

Conversation

@kelvins
Copy link
Contributor

@kelvins kelvins commented Oct 3, 2018

What is this Python project?

This is a Python plugin to measure and generate reports of code coverage.
It is very simple to use, is MIT licensed and is compatible with coverage package.

What's the difference between this Python project and similar ones?

Compared to coverage the pytest-cov plugin does some extras:

  • Subprocess support: you can fork or run stuff in a subprocess and will get covered without any fuss.
  • Xdist support: you can use all of pytest-xdist's features and still get coverage.
  • Consistent pytest behavior. If you run coverage run -m pytest you will have slightly different sys.path (CWD will be in it, unlike when running pytest).

--

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.

@vinta vinta force-pushed the master branch 2 times, most recently from 23abd09 to 40cd98b Compare June 6, 2019 19:55
@stale
Copy link

stale bot commented Oct 30, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 30, 2019
@stale stale bot closed this Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant