Port details |
- py-pytest-cases Separate test code from test cases in pytest
- 3.6.14 devel =2 3.6.14Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2023-09-11 03:17:27
- Last Update: 2024-02-29 07:18:32
- Commit Hash: 5d4139f
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://smarie.github.io/python-pytest-cases/
- https://github.com/smarie/python-pytest-cases
- Description:
- Did you ever think that most of your test functions were actually the same test
code, but with different data inputs and expected results/exceptions?
- pytest-cases leverages pytest and its great @pytest.mark.parametrize
decorator, so that you can separate your test cases from your test functions.
- In addition, pytest-cases provides several useful goodies to empower pytest.
In particular it improves the fixture mechanism to support "fixture unions".
This is a major change in the internal pytest engine, unlocking many
possibilities such as using fixture references as parameter values in a test
function. See here.
pytest-cases is fully compliant with pytest-harvest so you can easily monitor
the execution times and created artifacts. With it, it becomes very easy to
create a complete data science benchmark, for example comparing various models
on various datasets.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pytest-cases>0:devel/py-pytest-cases@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pytest-cases/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pytest-cases
- pkg install py39-pytest-cases
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-pytest-cases listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pytest-cases
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1694348232
SHA256 (pytest-cases-3.6.14.tar.gz) = 7455e6ca57a544c1bfdd8b56ace08c1c1ce4c6572a8aab8f1bd351dc25a10b6b
SIZE (pytest-cases-3.6.14.tar.gz) = 1083239
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=39.2 : devel/py-setuptools@py39
- py39-setuptools-scm>=0 : devel/py-setuptools-scm@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-decopatch>=0 : devel/py-decopatch@py39
- py39-makefun>=1.9.5 : devel/py-makefun@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-pytest-cases
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.6.14 29 Feb 2024 07:18:32 |
Charlie Li (vishwin) |
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288 |
3.6.14 11 Sep 2023 03:03:47 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pytest-cases: Add py-pytest-cases 3.6.14
Did you ever think that most of your test functions were actually the same test
code, but with different data inputs and expected results/exceptions?
- pytest-cases leverages pytest and its great @pytest.mark.parametrize
decorator, so that you can separate your test cases from your test functions.
- In addition, pytest-cases provides several useful goodies to empower pytest.
In particular it improves the fixture mechanism to support "fixture unions".
This is a major change in the internal pytest engine, unlocking many
possibilities such as using fixture references as parameter values in a test
function. See here.
pytest-cases is fully compliant with pytest-harvest so you can easily monitor
the execution times and created artifacts. With it, it becomes very easy to
create a complete data science benchmark, for example comparing various models
on various datasets. |
Number of commits found: 2
|