BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-pytest-console-scripts1.4.1_1
DragonFlydevel/py-pytest-console-scripts1.4.1_1
MidnightBSDdevel/py-pytest-console-scripts1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.1_11.4.1_11.3.11.4.1_11.4.1_1
FreeBSD:14:quarterly1.4.1_11.4.1_1n/a1.4.1_11.4.1_1
FreeBSD:15:latest1.4.1_11.4.1_1n/a1.4.1_11.4.1_1
FreeBSD:15:quarterly1.4.1_11.4.1_1n/an/an/a
FreeBSD:16:latest1.4.1_11.4.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

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
FileSizeSHA256
pytest-console-scripts-1.4.1.tar.gz209945a826ed84cc0afa202eb9e44381d7d762f7bdda8e0c23f9f79a7f1f44cf4a895
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.