HomeFreeBSD

devel/py-pytest-console-scripts: Add py-pytest-console-scripts 1.3.1

Description

devel/py-pytest-console-scripts: Add py-pytest-console-scripts 1.3.1

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.

Details

Provenance
sunpoetAuthored on Nov 19 2022, 8:09 AM
Parents
R11:97a6d0658931: devel/py-pep440: Add py-pep440 0.1.2
Branches
Unknown
Tags
Unknown