Pytest plugin for testing console scripts
conda install anaconda::pytest-console-scripts
Pytest-console-scripts is a pytest plugin for running python scripts from within tests.