> ## Documentation Index
> Fetch the complete documentation index at: https://docs.testsprite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Plan, Test, Ship with Cursor

> An agentic coding workflow end to end: plan with Cursor, build a small Next.js app, test it with TestSprite, then feed the failures back to Cursor and re-run.

*Video by **Hause Collective** · 23:52 · English*

[https://www.youtube.com/embed/Jjxi3w2DwaE](https://www.youtube.com/embed/Jjxi3w2DwaE)

## What You'll See

* **The approach** (0:38): plan → test → ship, using Cursor's Planning feature to approve a plan before any code is written (1:37)
* **Building the app** (3:30): a small Next.js + SQLite + Tailwind app, and a real bug on the first run (7:56)
* **Setting up TestSprite** (9:27): sign-up, install, and API key, then asking Cursor to run TestSprite against the project (10:33)
* **Watching the tests** (11:26): what's being tested and how, and the tests running against the local app (16:18)
* **What it found** (17:52): long-text validation and accessibility-messaging failures, plus the report and generated test code (19:11)
* **Closing the loop** (20:45): fix prompts back into Cursor, then re-running the tests

## Try It Yourself

> **[MCP Server](https://docs.testsprite.com/mcp/getting-started/overview.md)**
>
> Run TestSprite from your IDE, as in the video

> **[CLI](https://docs.testsprite.com/cli/getting-started/overview.md)**
>
> The same test-and-fix loop from the terminal

> [!NOTE]
>
> Recorded in October 2025, before TestSprite 3.0. The screens look different today, but the plan → test → fix workflow still applies. When the video and the docs disagree, the docs are the reference.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.