mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
devel/py-pytest-cpp: Add py-pytest-cpp 2.3.0
pytest-cpp uses pytest runner to discover and execute C++ tests. It supports Google Test, Boost.Test, and Catch2. This brings several benefits: - Allows you to run all your tests in multi-language projects with a single command; - Execute C++ tests in parallel using pytest-xdist plugin; - Use --junitxml option to produce a single and uniform xml file with all your test suite results; - Filter which tests to run using standard test filtering capabilities, such as by file names, directories, keywords by using the -k option, etc.;
This commit is contained in:
parent
0c24df6fc7
commit
daf74492d8
4 changed files with 38 additions and 0 deletions
|
@ -5249,6 +5249,7 @@
|
|||
SUBDIR += py-pytest-checkdocs
|
||||
SUBDIR += py-pytest-console-scripts
|
||||
SUBDIR += py-pytest-cov
|
||||
SUBDIR += py-pytest-cpp
|
||||
SUBDIR += py-pytest-datadir
|
||||
SUBDIR += py-pytest-django
|
||||
SUBDIR += py-pytest-enabler
|
||||
|
|
23
devel/py-pytest-cpp/Makefile
Normal file
23
devel/py-pytest-cpp/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
PORTNAME= pytest-cpp
|
||||
PORTVERSION= 2.3.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Use pytest runner to discover and execute C++ tests
|
||||
WWW= https://github.com/pytest-dev/pytest-cpp
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest>=7.0,1:devel/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-pytest-cpp/distinfo
Normal file
3
devel/py-pytest-cpp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1681052892
|
||||
SHA256 (pytest-cpp-2.3.0.tar.gz) = 37abfa693697940aed2e7c034698188dee3616183ad9b3f764f3b06aeb75ed4a
|
||||
SIZE (pytest-cpp-2.3.0.tar.gz) = 298220
|
11
devel/py-pytest-cpp/pkg-descr
Normal file
11
devel/py-pytest-cpp/pkg-descr
Normal file
|
@ -0,0 +1,11 @@
|
|||
pytest-cpp uses pytest runner to discover and execute C++ tests. It supports
|
||||
Google Test, Boost.Test, and Catch2.
|
||||
|
||||
This brings several benefits:
|
||||
- Allows you to run all your tests in multi-language projects with a single
|
||||
command;
|
||||
- Execute C++ tests in parallel using pytest-xdist plugin;
|
||||
- Use --junitxml option to produce a single and uniform xml file with all your
|
||||
test suite results;
|
||||
- Filter which tests to run using standard test filtering capabilities, such as
|
||||
by file names, directories, keywords by using the -k option, etc.;
|
Loading…
Add table
Reference in a new issue