testsprite-cli
Official TestSprite CLI — AI-powered automated testing from your terminal
What is testsprite-cli?
Official TestSprite CLI — AI-powered automated testing from your terminal
Overview of testsprite-cli
What it is
TestSprite is an AI testing platform used by over 100,000 teams to test software, both frontend and backend, in the cloud against the live product rather than using mocks. This repository contains the official CLI for TestSprite. The CLI enables coding agents to verify every behavior they ship, with failures returned as a single self-consistent bundle that the agent can act on without dashboard scraping. Humans can also drive the same surface from a terminal or CI.
Key features
- AI-powered automated testing from the terminal, integrated with coding agents.
- Supports eight coding agent targets: claude, cursor, cline, windsurf, antigravity, kiro, copilot, codex.
- Tests run against the live product in the cloud, not against mocks.
- Failures are returned as one self-consistent bundle for the agent to act on.
- Supports local frontend testing via a tunnel, including on the Free plan.
- Can generate test plans automatically from a deployed target or from an API spec.
- Provides a plan file format using plain language JSON, no browser code required.
Use cases
- Verifying code shipped by AI coding agents in an automated loop.
- Running frontend and backend tests against a live product in CI or from a terminal.
- Testing a local development environment via a tunnel.
- Generating test proposals for a deployed target or from uploaded API documentation.
Getting started
Requires Node.js 20.19+, 22.13+, or 24+. (No global install? npx @testsprite/testsprite-cli works too.)bashnpm install -g @testsprite/testsprite-clitestsprite setupNon-interactive (CI / onboarding scripts):bashTESTSPRITE_API_KEY=sk-... testsprite setup --from-env --yes
License and pricing
License: Apache-2.0. Pricing type: open_source.
Based on the project's public README and repository metadata.