Pytest plugin for testing console scripts

JSON →
library 1.4.1 ·python
verified May 24, 2026

pytest-console-scripts is a pytest plugin designed for comprehensive testing of Python console scripts. It offers two execution modes: an 'in-process' mode for fast development iteration by running scripts within the same interpreter as pytest, and a 'subprocess' mode to simulate real-world execution environments. The library is actively maintained, with its latest version being 1.4.1, and typically follows a minor release cadence as needed for bug fixes and Python version support.

total hits 23
actors 9 distinct systems
last hit 1d ago ChatGPT-User
GPTBot
6
MetaBot
4
Script
2
ByteDance
1
ClaudeBot
1
ChatGPT-User
1
Search engines
1

top countries 🇺🇸 United States · 🇫🇮 Finland · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France