devel/py-pytest-console-scripts 1.4.1_1 FreeBSD
Pytest plugin for testing console scripts
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 18.5 KiB, 66.7 KiB installed
Description
Pytest-console-scripts is a pytest plugin for running python scripts from within tests. It's quite similar to subprocess.run(), but it also has an in-process mode, where the scripts are executed by the interpreter that's running pytest (using some amount of sandboxing).
In-process mode significantly reduces the run time of the test suites that run many external scripts. This is speeds up development. In the CI environment subprocess mode can be used to make sure the scripts also work (and behave the same) when run by a fresh interpreter.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pytest-console-scripts | 1.4.1_1 |
| DragonFly | devel/py-pytest-console-scripts | 1.4.1_1 |
| MidnightBSD | devel/py-pytest-console-scripts | 1.4.1_2 |
Install
Binary package:
pkg install py312-pytest-console-scripts
From the ports tree:
cd /usr/ports/devel/py-pytest-console-scripts/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pytest-console-scripts>0:devel/py-pytest-console-scripts
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.4.1_1 | 1.4.1_1 | 1.3.1 | 1.4.1_1 | 1.4.1_1 |
| FreeBSD:14:quarterly | 1.4.1_1 | 1.4.1_1 | n/a | 1.4.1_1 | 1.4.1_1 |
| FreeBSD:15:latest | 1.4.1_1 | 1.4.1_1 | n/a | 1.4.1_1 | 1.4.1_1 |
| FreeBSD:15:quarterly | 1.4.1_1 | 1.4.1_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.4.1_1 | 1.4.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}pytest>=4.0.0,1: devel/py-pytest
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 15
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytest-console-scripts-1.4.1.tar.gz | 20994 | 5a826ed84cc0afa202eb9e44381d7d762f7bdda8e0c23f9f79a7f1f44cf4a895 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.