# testsprite/testsprite-cli

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/testsprite-testsprite-cli).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

5,157 stars · 293 forks · TypeScript · Apache-2.0

## Links

- GitHub: https://github.com/TestSprite/testsprite-cli
- Homepage: https://www.testsprite.com
- awesome-repositories: https://awesome-repositories.com/repository/testsprite-testsprite-cli.md

## Topics

`ai` `cli` `e2e-testing` `playwright` `qa` `test-automation` `testing`

## Description

TestSprite CLI is a command-line tool for creating, running, and managing automated tests for web frontends and backend APIs. Tests are described in plain language, and the platform runs them in real cloud browsers and against real APIs rather than mocks. It can be used from a terminal or in CI pipelines, and it is built so that AI coding agents can check their own work: an agent creates or runs tests against a live app, reads structured failures, fixes the code, and reruns.

Several capabilities set it apart. Failures are packaged into one self-consistent bundle containing the failing step, screenshots, page snapshots, a likely root cause, and a suggested fix, so an agent or developer does not have to piece the evidence together from a dashboard. The tool detects which supported coding agents are in use and installs tailored skill files so each one can run the testing loop. A secure, scoped tunnel lets cloud-run tests reach an app on localhost, and it is shared across batches and torn down automatically. Test cases can also be proposed by AI from a deployed app, an uploaded API spec, or requirement documents, then staged for review before they join the suite.

Beyond that, the CLI covers defining tests from declarative JSON plan files (which can be drafted and validated offline), running single tests, full suites, or batches in ordered waves, and managing projects, environments, test authentication, and credential profiles. For CI, it can generate a workflow that tests each pull request's preview deployment, writes JUnit and JSON summaries, and exits with a pass or fail verdict. Output is stable JSON with predictable exit codes, and a dry-run mode with canned data makes scripting dependable. Utilities include an environment health check and shell completions for bash, zsh, and fish.

## Tags

### Testing & Quality Assurance

- [Adaptive AI Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/test-frameworks/browser-and-ui-testing/browser-automation-frameworks/browser-automation-testing/adaptive-ai-testing.md) — Provides a command-line tool that uses AI to generate, run, and manage automated tests for web frontends and backend APIs from terminal or CI.
- [AI-Driven Application Testing](https://awesome-repositories.com/f/testing-quality-assurance/ai-driven-application-testing.md) — Writes, runs, and maintains browser and API tests against live apps in the cloud from plain-language descriptions instead of scripts.
- [Browser Interaction Testing](https://awesome-repositories.com/f/testing-quality-assurance/browser-interaction-testing.md) — Runs tests in real cloud browsers and against real APIs, performing actual clicks, navigation, and assertions instead of mocked interactions. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Coding Agent Verification Tools](https://awesome-repositories.com/f/testing-quality-assurance/coding-agent-verification-tools.md) — Lets AI coding agents run tests against a live app, read structured failures, fix their code, and rerun to verify their own work.
- [Failure Diagnostic Bundles](https://awesome-repositories.com/f/testing-quality-assurance/failure-diagnostic-bundles.md) — Assembles the failing step, screenshots, page snapshots, root-cause guess, and suggested fix into one self-consistent bundle for developers and coding agents.
- [Live App Verification](https://awesome-repositories.com/f/testing-quality-assurance/live-app-verification.md) — Opens a running app in the cloud, uses it like a real user, and reports which behaviors work and which break. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Browser Automation Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/test-frameworks/browser-and-ui-testing/browser-automation-frameworks/browser-automation-testing.md) — Turns plain-language descriptions of behavior into automated tests that run in real cloud browsers and against real APIs. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Iterative Fix Loops](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/test-frameworks/browser-and-ui-testing/browser-automation-frameworks/web-testing-frameworks/automated-bug-fixing-evaluation/iterative-fix-loops.md) — Lets coding agents create or run tests, read structured failures, fix the code and rerun until checks pass without manual intervention. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [CI Test Execution](https://awesome-repositories.com/f/testing-quality-assurance/automated-test-suites/ci-test-execution.md) — Exposes the testing platform through a command line so tests can be triggered and managed from a terminal or CI pipeline. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Frontend Behavior-Driven Test Suites](https://awesome-repositories.com/f/testing-quality-assurance/automated-test-suites/frontend-behavior-driven-test-suites.md) — Runs AI-driven tests against the live product, covering both the user interface and backend behavior, without relying on mocks. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Test Plan Configurations](https://awesome-repositories.com/f/testing-quality-assurance/automation-interaction-tools/test-automation-tools/test-planning-utilities/test-plan-configurations.md) — Defines tests as declarative JSON plan files written in plain language, which can be drafted and validated offline.
- [Pull Request](https://awesome-repositories.com/f/testing-quality-assurance/ci-integration-testing/quality-gates/pull-request.md) — Generates a CI workflow that tests each pull request's preview deployment as one run, reports in the job summary, and exits with a pass or fail verdict. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Regression Testing Suites](https://awesome-repositories.com/f/testing-quality-assurance/regression-testing-suites.md) — Runs every existing test in a project's suite so regressions in previously working behavior are caught rather than breaking silently. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Test Case Generators](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/test-execution-orchestration/test-case-generators.md) — Explores a deployed app or uploaded API spec, drafts proposed test cases, and stages them for review before they join the suite. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [AI-Driven Case Generation](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/test-execution-orchestration/test-case-generators/ai-driven-case-generation.md) — Drafts test cases with AI from a deployed app, API specs, or requirement documents and stages them for review before joining the suite.
- [Test Authoring and Editing](https://awesome-repositories.com/f/testing-quality-assurance/test-authoring-and-editing.md) — Creates single or bulk tests from plan files, updates metadata, timeouts, code, and steps, and permanently deletes tests. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Test Run Triggering](https://awesome-repositories.com/f/testing-quality-assurance/test-run-triggering.md) — Triggers fresh test runs, waits for them to finish, and runs many tests in ordered waves, opening tunnels automatically for local environments. ([source](https://github.com/testsprite/testsprite-cli#readme))

### Artificial Intelligence & ML

- [Coding Feedback Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/self-improving-agent-tutorials/self-improving-logic/coding-feedback-loops.md) — Lets AI coding agents create tests, run them, read structured failure diagnostics, fix code, and rerun until behavior passes.
- [Agent Skill Installers](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-skill-installers.md) — Prompts for an API key, verifies it and installs a testing skill for each detected coding agent so it can verify its own work. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Coding Agents](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/ai-agent-tooling/coding-agents.md) — Detects which supported coding agents are in use from the calling agent and project config, then confirms the list before writing skill files. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Multi-Agent Skill Installers](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-skill-installers.md) — Detects which coding agents are in use from environment and project config, then installs tailored skill files into each agent's native location.

### Part of an Awesome List

- [Cloud Testing Services](https://awesome-repositories.com/f/awesome-lists/devops/cloud-testing-services.md) — Runs end-to-end tests in real cloud browsers and against real APIs, with secure tunnels so localhost apps can be tested remotely.

### Development Tools & Productivity

- [Test Failure Diagnostics](https://awesome-repositories.com/f/development-tools-productivity/frontend-debugging-workflows/test-failure-diagnostics.md) — Returns one self-consistent bundle for a failed test with the failing step, screenshots, page snapshots, likely root cause and suggested fix. ([source](https://github.com/testsprite/testsprite-cli#readme))
- [Authenticated Local Tunnels](https://awesome-repositories.com/f/development-tools-productivity/developer-utilities-libraries/workflow-productivity-enhancers/developer-productivity-utilities/developer-utilities/network-traffic-proxies/local-tunneling-services/authenticated-local-tunnels/authenticated-local-tunnels.md) — Opens a scoped, authenticated tunnel so cloud-run tests can reach an app on localhost, shared across batches and closed automatically.
- [Structured CLI Output](https://awesome-repositories.com/f/development-tools-productivity/structured-cli-output.md) — Emits stable JSON output and predictable exit codes, with an offline dry-run mode using canned data, so scripts and pipelines get consistent behavior.

### Networking & Communication

- [Local Server Tunnels](https://awesome-repositories.com/f/networking-communication/local-server-tunnels.md) — Opens a secure, scoped tunnel so cloud-run frontend tests can reach an application running on localhost. ([source](https://github.com/testsprite/testsprite-cli#readme))

### System Administration & Monitoring

- [Test Failure Analysis](https://awesome-repositories.com/f/system-administration-monitoring/diagnostic-tools/diagnostics/failure-analysis-tools/automated-root-cause-analysis/test-failure-analysis.md) — Packages the latest failure into a self-contained bundle or short summary and compares two runs to show status changes, failure type, and code drift. ([source](https://github.com/testsprite/testsprite-cli#readme))

### Web Development

- [Cloud Browser Integrations](https://awesome-repositories.com/f/web-development/web-automation-scraping/browser-orchestration-systems/cloud-browser-integrations.md) — Runs tests in real cloud-hosted browsers and against live APIs, so the local machine only sends instructions and receives results.
