NoFlake Documentation
AI-powered E2E tests that write themselves. Three commands. Zero babysitting.
What is NoFlake?
NoFlake is a developer-first CLI tool that reads your codebase — your framework, database schema, routes, and auth patterns — and generates a complete Playwright E2E test suite. When tests break because your code changed, NoFlake patches them automatically.
Current Status
NoFlake is in the Building the Boardphase (v0.0.x). Here's what works today:
npx noflake init— Sets up your project with Playwright config, test directories, state folder, and optional git hook- Interactive setup prompts walk you through framework, database, and auth configuration
- Creates a
.noflakerc.jsonconfig file tailored to your stack - Generates a complete
playwright.config.ts
Coming in v1.0: The full automation loop —
noflake write (AI test generation), noflake update (diff-based patching), and noflake run (execution + reporting).Tech Stack
| Runtime | Node.js 24 LTS |
| AI | Claude Sonnet 4 via Anthropic SDK |
| Testing | Playwright |
| CLI | Commander.js |
| Language | TypeScript |
Requirements
- Node.js 24+ (LTS)
- An Anthropic API key (
ANTHROPIC_API_KEYenv var) — needed for v1.0 automation - Playwright (
@playwright/testas peer dependency)
Quick Start
npm install -D noflake
npx noflake init --hook
# That's it for now! Your testing environment is ready.
# When v1.0 ships, run:
# npx noflake write