How Two Prompts Enable Cursor to Batch‑Generate Unit Tests
The article details a step‑by‑step workflow that uses two carefully crafted prompts with Cursor to automatically locate source files in a large monorepo, record tasks, iteratively generate Vitest unit tests, track progress, and handle failures, turning a 11 k‑line codebase into a semi‑automated test suite.
