vibe-testing

Code-aware browser testing for AI coding agents.
Product site · npm · MCP Registry · Smithery · Privacy · Launch status
Listed in Awesome MCP Servers. The download badge shows npm's cumulative package downloads; npx package fetches contribute to that total.
vibe-testing reads your codebase so tests use your real routes and field names, runs them in a real Playwright browser, remembers what broke, and tells you what your last change fixed or regressed. It works as an MCP server that gives your editor (Claude Code, Cursor, Windsurf, VS Code Copilot, Roo Code) 15 testing tools, or as a standalone CLI.
The repository is also an Agent Plugin with a release-qa skill. Compatible agents get both the testing tools and a senior-QA workflow for coverage, evidence, regression checks, and a clear release verdict.
cd /path/to/your/project
npx vibe-testing@latest init
Then open your editor and say:
"Scan this codebase and test it against http://localhost:3000"
No source code? Point it at a URL from an empty folder and it tests the app black-box:
npx vibe-testing@latest run https://staging.example.com
It finds bugs you didn't write a test for
While it explores, vibe-testing checks for server crashes, console errors, broken values (NaN, [object Object], Invalid Date), totals that don't match their line items, saved values that never appear, a logout that doesn't end the session, and one user opening another user's pages. No scenarios to write.
Measured on intentionally buggy apps (0.5.0, details in #13):
| App | Mode | Before | 0.5.0 |
|---|
| react-simple-project (7 planted functional bugs) | with source code | 1 of 7 | 7 of 7 |
| react-simple-project | URL only | 0 of 7 | 7 of 7 |
| OWASP NodeGoat | with source code | 0 issues | /contributions crash, /allocations 500s, a redirect to /undefined |
| restful-booker-platform (no planted bugs) | both | 3 pages, 4 false errors | 8+ pages, 1 real bug: /api/room/:id returns 500 |
No false findings on these three apps in either mode. Run it against a test environment: exploration creates records and lists every change it made.
Using it on your project? Add the badge:
[](https://github.com/AishwaryShrivastav/vibe-testing)
What code-aware testing adds
Playwright MCP gives your agent hands. vibe-testing gives it a testing workflow: code-derived scenarios, memory across runs, and a report. Two things a stateless browser tool cannot do:
1. Run it twice and it tells you what you broke. Every run writes .vibe/run-snapshot.json and diffs it against the previous run. Every scan writes .vibe/route-manifest.json and diffs your routes. The second run prints regressions and fixes instead of a wall of results:
Changes since last run
Fixed: /login
Regression: /checkout
New: /admin/users
The same diff reaches your editor as snapshot_diff on run_full_test and run_converge, and as route_changes on scan_codebase, so the agent can flag "checkout broke after that commit" without anyone scrolling a report. Flaky routes, working selectors, and measured timeouts are also remembered between runs.
2. Zero LLM calls inside the tool. Pass/fail verification is heuristic: URL changes, toast detection, API errors. Your editor's model decides what to test; vibe-testing does the browsing and checking. No API key, no per-run cost beyond the editor subscription you already pay for.
Contents