1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

devel/py-pytest-drop-dup-tests: Pytest plugin to drop duplicated tests during collection.

Differential Revision: https://reviews.freebsd.org/D43484
This commit is contained in:
Alastair Hogge 2024-01-19 17:46:31 +03:00 committed by Gleb Popov
parent dde8211ae0
commit 3f1c1f734d
4 changed files with 31 additions and 0 deletions

View File

@ -5377,6 +5377,7 @@
SUBDIR += py-pytest-cpp
SUBDIR += py-pytest-datadir
SUBDIR += py-pytest-django
SUBDIR += py-pytest-drop-dup-tests
SUBDIR += py-pytest-enabler
SUBDIR += py-pytest-env
SUBDIR += py-pytest-factoryboy

View File

@ -0,0 +1,22 @@
PORTNAME= pytest-drop-dup-tests
DISTVERSION= 0.3.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= agh@riseup.net
COMMENT= Pytest plugin to drop duplicated tests during collection
WWW= https://github.com/nicoddemus/pytest-drop-dup-tests
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1705534918
SHA256 (pytest-drop-dup-tests-0.3.0.tar.gz) = 6ef9b3dd19171136b1b5e970a3d80593ccbc51e3684b1b72f1054a16656bc563
SIZE (pytest-drop-dup-tests-0.3.0.tar.gz) = 5322

View File

@ -0,0 +1,5 @@
Pytest plugin to drop duplicated tests during collection. Pytest by default
will collect all tests from directories or files given configured by the
Project, or passed on the command line. The plugin aims to reduce test work by
executing tests/unit first, followed by the remaining tests under tests,
however, without duplicates.