Description
Provides helpers for testing command-line scripts by running them, capturing output, and checking filesystem effects. It helps developers verify CLI behavior from automated tests instead of relying on manual terminal runs.
Use it as a testing library inside Python projects. Tests that run scripts can change files or environment state, so isolate temporary directories and avoid pointing tests at real user data.