The TestSprite CLI connects coding agents and CI to a cloud testing platform that exercises live web apps and APIs, returning structured failure evidence.
Overview
TestSprite’s command-line tool orchestrates planning, applying, running, and inspecting tests against deployed applications. It targets Node.js 20.19+, 22.13+, or 24+ and installs skills for detected coding agents during setup.
Workflows cover proposing tests from natural language, saving suites, running against project environments, polling results with JSON output, and rerunning individual tests after fixes. Local frontend testing can open tunnels so cloud runners reach machines on port 3000 or similar.
The CLI integrates with GitHub Actions via ci init and ci run, exposes stable exit codes for automation, and documents migration from earlier 0.16 interfaces. Execution relies on TestSprite’s hosted cloud runners rather than a self-contained on-prem engine.
Key features
- Agent-oriented plan and apply workflow
- JSON output for runs and results
- Tunnel support for local app testing
- GitHub Actions CI gate commands
- Structured failure evidence per result
- Coding-agent skill installation
- Project and environment management
- Rerun and wait commands for CI
Use cases
- Letting coding agents verify UI changes
- Gating pull requests with live E2E tests
- Iterating plan-run-fix testing loops
- Scripting QA from a terminal or pipeline