1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Add devel/py-pytest-cov, pytest plugin for measuring coverage

This plugin produces coverage reports. It supports centralised testing and
distributed testing in both load and each modes. It also supports coverage of
subprocesses.

All features offered by the coverage package should be available, either through
pytest-cov or through coverage's config file.

WWW: https://github.com/pytest-dev/pytest-cov

Reviewed by:	koobs
Differential Revision:	D12394
This commit is contained in:
Danilo G. Baio 2017-09-17 11:10:45 +00:00
parent 4181ea8c1c
commit a1a677814a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449992
4 changed files with 34 additions and 0 deletions

View File

@ -4710,6 +4710,7 @@
SUBDIR += py-pytest-asyncio
SUBDIR += py-pytest-cache
SUBDIR += py-pytest-capturelog
SUBDIR += py-pytest-cov
SUBDIR += py-pytest-django
SUBDIR += py-pytest-localserver
SUBDIR += py-pytest-mock

View File

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= pytest-cov
PORTVERSION= 2.5.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Pytest plugin for measuring coverage
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=3.7.1:devel/py-coverage \
${PYTHON_PKGNAMEPREFIX}pytest>=2.6.0:devel/py-pytest
NO_ARCH= yes
USES= python
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1505266858
SHA256 (pytest-cov-2.5.1.tar.gz) = 03aa752cf11db41d281ea1d807d954c4eda35cfa1b21d6971966cc041bbf6e2d
SIZE (pytest-cov-2.5.1.tar.gz) = 36201

View File

@ -0,0 +1,8 @@
This plugin produces coverage reports. It supports centralised testing and
distributed testing in both load and each modes. It also supports coverage of
subprocesses.
All features offered by the coverage package should be available, either through
pytest-cov or through coverage's config file.
WWW: https://github.com/pytest-dev/pytest-cov