vibe-testing is a code-aware browser testing tool for AI coding agents. It reads the codebase, lets tests use real routes and field names, executes in a real Playwright browser, remembers the last breaking point, and tells you which regressions the most recent change fixed or caused. It can serve as an MCP server providing 14 testing tools for editors, or be used as a standalone CLI. In addition, the repository itself is also an Agent Plugin, bundled with a release-qa skill, so compatible agents can obtain both the testing tools and an advanced QA workflow (coverage, evidence, regression checks, release conclusions).
Purpose It mainly serves AI coding agents and developers who need to frequently verify changes to web applications. By integrating code understanding, browser automation, regression memory, and report generation into a single workflow, it enables agents to directly test the current project without writing test cases by hand.
Main capabilities
- Code-aware testing: reads the codebase and generates test scenarios based on real routes and form field names.
- 14 MCP tools: including scanning page elements, exploring pages, executing scenarios, getting context, logging in, taking screenshots, suggesting tests, generating reports, etc.
- Browser automation: based on Playwright, supports SPAs with client-side routing.
- Regression memory: each run writes .vibe/run-snapshot.json and compares it with the previous one, marking newly_passing (fixed), newly_failing (regression), still_failing, etc.; each scan writes .vibe/route-manifest.json and compares route changes.
- No LLM calls: pass/fail is determined through heuristic validation (URL changes, toast detection, API errors), without relying on API keys and with no additional per-run cost.
- Report generation: generates a human-readable HTML QA report and opens it automatically.
- Memory state: remembers effective selectors, route timings, login credentials, unstable routes, automatically skipped routes, etc.
- Coverage mapping: parses existing Jest, Vitest, Playwright, and Cypress test files to build a coverage map.
How to use Install and initialize: install via npx or an editor plugin. Initialization automatically detects installed AI editors, registers the MCP configuration, creates project-level MCP configuration and AI instruction files, automatically detects the application URL, creates VIBE.md and vibe.config.json, and installs the matching Playwright Chromium.
You can say directly in the editor: "Scan this codebase and test it against http://localhost:3000” to get started.
To connect to the editor as an MCP server, add the configuration in the corresponding editor's configuration file (such as ~/.claude/settings.json, ~/.cursor/mcp.json, ~/.codeium/windsurf/mcp_config.json, .vscode/mcp.json, .roo/mcp.json, etc.). The Agent Plugins standard is also supported: submit or install as an Agent Plugin in Cursor; in Claude Code, use the commands: claude plugin marketplace add AishwaryShrivastav/vibe-testing and claude plugin install vibe-testing@vibe-testing. Direct MCP and CLI methods still apply to editors that do not support plugins.
Standalone CLI usage: npx vibe-testing@latest run https://your-app.com You can scan, generate scenarios, execute, and generate HTML reports. To test the staging environment, you can set the url in vibe.config.json, or pass the URL on the command line.
The recommended workflow includes: scan_codebase to understand routes and forms; get_context("login") to read the real login form source code; login to authenticate in a real browser; explore_page("/dashboard") to click all elements and observe issues; explore_page("/settings"); suggest_tests to find coverage gaps; execute_scenario to run targeted flows; generate_report to generate an HTML report; cleanup to close the browser.
Provide project guidance through VIBE.md, editing the login URL and test credentials; vibe.config.json is used for configuration, such as parameters like url.
Applicable scenarios
- Functional testing and regression verification of web applications.
- Quickly check specific flows such as login and checkout in an AI editor.
- Verify bug fixes and confirm status through screenshots.
- Discover API errors, broken elements, and failed interactions on the page.
- Perform quick QA in CI or locally without writing test cases.
- Supports monorepos: init automatically detects Turborepo/pnpm/yarn workspaces and finds the frontend application.
Limitations
- Requires Node.js >= 20 and the installation of Playwright Chromium. init will install a matching version, or you can manually install or repair it with npx vibe-testing@latest install-browser.
- The tool does not use an LLM internally; verification is heuristic-based and cannot prove the described business outcomes.
- The assert step requires explicitly providing a selector, value, or url condition; otherwise it only checks page health (at least 10 visible body text characters, and no non-empty visible error indicators).
- upload only handles file inputs and does not automate native file selection dialogs.
- A scenario must contain at least one step; unknown actions are treated as errors.
- run and converge exit non-zero when no scenarios are found or the execution batch is empty, and the MCP counterpart returnsisError: true.
- Prevent destructive operations: you can set never_interact in vibe.config.json or VIBE.md to block dangerous buttons (such as "Delete Account").
- Reset memory: npx vibe-testing@latest reset.
- License: MIT, author Aishwary Shrivastav.
- Listed in the official MCP registry as io.github.AishwaryShrivastav/vibe-testing.