Pytest plugin for testing console scripts

Edit Package python-pytest-console-scripts
https://github.com/kvas-it/pytest-console-scripts

Pytest-console-scripts is a `Pytest`_ plugin for testing python scripts
installed via ``console_scripts`` entry point of ``setup.py``. It can run the
scripts under test in a separate process or using the interpreter that's
running the test suite. The former mode ensures that the script will run in an
environment that is identical to normal execution whereas the latter one allows
much quicker test runs during development while simulating the real runs as
much as possible.

Refresh
Refresh
Source Files
Filename Size Changed
pytest-console-scripts-1.4.1.tar.gz 0000020994 20.5 KB
python-pytest-console-scripts.changes 0000003379 3.3 KB
python-pytest-console-scripts.spec 0000002293 2.24 KB
Revision 11 (latest revision is 13)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1090270 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 11)
- update to 1.4.1:
  * Dropped support for Python 3.7
  * Fix loading scripts with non-UTF-8 encodings.
  * Print output when a subprocess runner with `check=True` fails
    was missing.
  * Added type-hinting for all types,
    `pytest_console_scripts.ScriptRunner`
    can now be used to hint the `script_runner` fixture.
  * Added support for the `shell` and `check` keywords for in-
    process mode.
  * Passing command arguments in `*args` is now deprecated and
    will raise warnings.
  * Dropped support for Python 3.6
  * Install-time dependencies have been fixed.
Comments 0
openSUSE Build Service is sponsored by