Skip to content
Sections
>> Trisquel >> Packages >> xolotl (13.0) >> python >> python3-pytest-console-scripts
[  xolotl  ]
[ Source: pytest-console-scripts  ]

Package: python3-pytest-console-scripts (1.4.1-3)

Pytest plugin for running Python scripts from within tests

This plugin is 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 a CI environment subprocess mode can be used to make sure the scripts also work (and behave the same) when run by a fresh interpreter.

Other Packages Related to python3-pytest-console-scripts

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-pytest
    Simple, powerful testing in Python3

Download python3-pytest-console-scripts

Download for all available architectures
Architecture Package Size Installed Size Files
all 15.4 kB51 kB [list of files]