FreeBSD.software
Home/devel/py311-pytest-console-scripts

py311-pytest-console-scripts

1.4.1_1

Pytest plugin for testing console scripts

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.

Origin: devel/py-pytest-console-scripts
Category: devel
Size: 69.3KiB
License: MIT
Maintainer: sunpoet@FreeBSD.org
Dependencies: 2 packages
Required by: 0 packages
$pkg install py311-pytest-console-scripts

Dependencies (2)

More in devel