Functional tests for command line applications
-
Updated
Jan 13, 2026 - Python
Functional tests for command line applications
Portable Codex and Claude Code skills to verify generated artifacts, CLI output, cache restores, and single-cell export handoffs.
通用自动化测试平台:可插拔执行器、统一断言、调度与报告,支持 API / Web / CLI。Automation First, AI Optional.
How To Test CLI Applications With Pytest, Argparse And Typer
Verify CLI output files against JSON contracts. Catch broken JSON/CSV exports even when commands exit 0. Zero runtime dependencies.
Regression-test real Bash, fish, and PowerShell completion candidates from one JSON contract.
Simple snapshot testing tool that captures command output and diffs against saved snapshots
To associate your repository with the cli-testing topic, visit your repo's landing page and select "manage topics."