</>MCP Agents Market
Skill

testsprite-cli

by TestSprite3.1kTypeScriptUpdated 2026-09-03

Official TestSprite CLI — AI-powered automated testing from your terminal

Claude CodeCursorClineWindsurfAntigravityKiroGitHub CopilotCodex

TestSprite CLI is an agent skill that enables AI coding agents to verify their own code changes through automated testing. It installs verification capabilities into popular coding agents (Claude Code, Cursor, Cline, Windsurf, and others) and provides commands for creating, running, and triaging frontend and backend tests against live applications in the cloud. The tool delivers test failures as self-contained bundles that agents can parse and act on, creating a feedback loop where agents fix their own bugs before deployment. Proven on the CoderCup leaderboard, it helped the cheapest model achieve 89% correctness by adding verification to the coding workflow.

Key Features

One-command setup that auto-detects and installs verification skills for eight coding agents (Claude, Cursor, Cline, Windsurf, Antigravity, Kiro, Copilot, Codex)
Agent-native test creation from plain JSON plan files describing behavior in natural language, no browser code required
Self-contained failure bundles with screenshots, DOM snapshots, root-cause analysis, and fix recommendations sharing a single snapshot ID
Cloud-based test execution against live browsers and APIs, not mocks, with real user interactions
CI/CD integration with GitHub Actions annotations, JUnit XML reports, and deterministic exit codes for scripting
Test plan generation that explores apps or API specs and proposes test cases for review and acceptance
Durable test suite management with rerun capabilities, scheduled executions on cron, and cross-project test lists
Credit-based usage tracking with per-test-type billing (0.5 credits frontend, 0.2 backend per run)

Use Cases

  • 01Enabling Claude Code or Cursor to verify every code change by creating and running tests automatically
  • 02Building a regression suite as coding agents ship features, banking every passing test for future reruns
  • 03Triaging test failures in CI by downloading failure bundles with screenshots and recommended fixes
  • 04Generating initial test coverage by having TestSprite explore a live app and propose test cases
  • 05Running scheduled test suites across multiple projects with environment-specific configurations
  • 06Stabilizing flaky tests by replaying them multiple times and scoring reliability before deployment

Related Skills

View more

testsprite-cli — FAQ

What is TestSprite CLI and what does it do?+

TestSprite CLI is an agent skill that gives AI coding agents the ability to create, run, and triage automated tests against live web apps and APIs. It installs verification capabilities into coding agents so they can test their own code changes and fix failures autonomously.

How do I install TestSprite CLI for my coding agent?+

Install globally with npm (npm install -g @testsprite/testsprite-cli), then run 'testsprite setup' which auto-detects your coding agents and installs the verification skill for them. Requires Node.js 20.19+, 22.13+, or 24+.

Which AI coding agents work with TestSprite CLI?+

It supports Claude Code, Cursor, Cline, Windsurf, Antigravity, Kiro, GitHub Copilot, and Codex. The setup command detects which agents you use and installs skills for all of them automatically.

Do I need a TestSprite API key?+

Yes, you need an API key from testsprite.com. The 'testsprite setup' command prompts for it, verifies it, and stores it in your credentials file. You can also set TESTSPRITE_API_KEY as an environment variable for CI/CD.

Is TestSprite CLI free to use?+

The CLI itself is open source under Apache 2.0, but test execution uses a credit-based billing model. Frontend tests cost 0.5 credits per run, backend tests cost 0.2 credits, and test plan generation spends credits per stage.

What are the prerequisites for running TestSprite CLI?+

You need Node.js version 20.19+, 22.13+, or 24+, and a TestSprite API key from testsprite.com. The CLI handles all other dependencies including browser orchestration in the cloud.

How do I install testsprite-cli?+

Open the source repository on GitHub and follow its README. testsprite-cli is a skill — MCP Agents Market links you directly to the official repo.

Is testsprite-cli free?+

testsprite-cli is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches