devel/py-testscenarios 0.5.0_2 MidnightBSD
PyUnit extension for dependency injection
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- Apache-2.0, bsd3
- Categories
- devel, python
Description
Testscenarios provides clean dependency injection for python unittest style tests. This can be used for interface testing (testing many implementations via a single test suite) or for classic dependency injection (provide tests with dependencies externally to the test code itself, allowing easy testing in different situations).
In the other systems
The newest version among them is 0.7.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-testscenarios | 0.5.0_2 behind since 2026-07-02 | no data | - | [email protected] | - |
| FreeBSD | devel/py-testscenarios | 0.7.0 newest | none known | - | [email protected] | 2026-09-30 |
| NetBSD | devel/py-testscenarios | 0.6.2 behind since 2026-09-30 | none known | - | [email protected] | 2026-07-02 |
| DragonFly | devel/py-testscenarios | 0.5.0_1 behind since 2026-07-02 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-testscenarios | 0.7.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-testscenarios | 0.5.0_1 behind since 2026-07-02 | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}testscenarios
From mports:
cd /usr/mports/devel/py-testscenarios && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testscenarios>0:devel/py-testscenarios
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}pbr>=0: devel/py-pbr${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}pbr>=0.11: devel/py-pbr${PYTHON_PKGNAMEPREFIX}testtools>=0: devel/py-testtools
Build dependencies 3
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| testscenarios-0.5.0.tar.gz | 20951 | c257cb6b90ea7e6f8fef3158121d430543412c9a87df30b5dde6ec8b9b57a2b6 |
Master sites 1
- PYPI