| 1 |
Source: pytest-console-scripts |
| 2 |
Maintainer: Debian Python Team <[email protected]> |
| 3 |
Uploaders: Julian Gilbey <[email protected]> |
| 4 |
Section: python |
| 5 |
Standards-Version: 4.7.3 |
| 6 |
Homepage: https://github.com/kvas-it/pytest-console-scripts |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
dh-sequence-python3, |
| 9 |
pybuild-plugin-pyproject (>= 6.20240401), |
| 10 |
python3-all, |
| 11 |
python3-flit-scm, |
| 12 |
python3-pytest |
| 13 |
Testsuite: autopkgtest-pkg-pybuild |
| 14 |
Vcs-Git: https://salsa.debian.org/python-team/packages/pytest-console-scripts.git |
| 15 |
Vcs-Browser: https://salsa.debian.org/python-team/packages/pytest-console-scripts |
| 16 |
|
| 17 |
Package: python3-pytest-console-scripts |
| 18 |
Architecture: all |
| 19 |
Depends: ${misc:Depends}, |
| 20 |
${python3:Depends} |
| 21 |
Description: Pytest plugin for running Python scripts from within tests |
| 22 |
This plugin is quite similar to `subprocess.run()`, but it also has an |
| 23 |
in-process mode, where the scripts are executed by the interpreter that's |
| 24 |
running `pytest` (using some amount of sandboxing). |
| 25 |
. |
| 26 |
In-process mode significantly reduces the run time of the test suites |
| 27 |
that run many external scripts. This is speeds up development. In a CI |
| 28 |
environment subprocess mode can be used to make sure the scripts also |
| 29 |
work (and behave the same) when run by a fresh interpreter. |