[PR #1138] [CLOSED] Add pytest-cov plugin #1020

Closed
opened 2025-11-06 13:07:34 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1138
Author: @kelvins
Created: 10/3/2018
Status: Closed

Base: masterHead: add_pytest_cov


📝 Commits (1)

  • 9f315f5 readme: add pytest-cov plugin

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1138 **Author:** [@kelvins](https://github.com/kelvins) **Created:** 10/3/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `add_pytest_cov` --- ### 📝 Commits (1) - [`9f315f5`](https://github.com/vinta/awesome-python/commit/9f315f586bdbb4a496c14afc568ade796795f2da) readme: add pytest-cov plugin ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## 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 :+1: to it, and usually, the maintainer will merge it when votes reach **20**. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:07:34 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#1020