I built Orchestro CLI to solve a problem I kept running into: testing CLI and TUI applications is painful. Existing tools like Expect are arcane, and Playwright doesn't handle terminal
applications.
Orchestro brings modern testing to the command line with:
• YAML-based test scenarios (no scripting required)
• Parallel execution with 5.25x speedup
• Intelligent test generation from source code (AST analysis)
• Snapshot testing for terminal output
• REST + GraphQL API for integration
• JUnit XML reports for CI/CD
Example test:
```yaml
name: Test Git Workflow
steps:
- send: "git status"
expect: "On branch"
- send: "git log --oneline"
expect_regex: "^[a-f0-9]{7}"
The intelligence system is particularly interesting – it can analyze your Python CLI source code and auto-generate test scenarios based on command structure, arguments, and help text.
We're seeing real-world usage in CI/CD pipelines, and the parallel execution has cut test times from 10 minutes to under 2 minutes for a 50-test suite.
Open source (MIT), installable via pip, production-ready with 63% test coverage.
Would love feedback from the HN community!
GitHub: https://github.com/jonthemediocre/orchestro-cli
Docs: https://github.com/jonthemediocre/orchestro-cli/blob/master/README.md
Jonthemediocre•1h ago