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.

🔒 Your code is safe. NoFlake never modifies your application source code. It reads your routes, schemas, and auth patterns (read-only), then writes only to tests/e2e/ and .noflake/. Your src/, app/, pages/, and all other source directories are never touched.

What's Included

  • noflake init — Set up your project with Playwright config, test directories, state folder, and optional git hook
  • noflake write — AI-powered test generation with self-healing (scans your codebase, generates Playwright tests, retries on failure)
  • noflake update — Diff-based test patching (reads git changes, patches affected tests, optional auto-commit)
  • noflake run — Test execution with reports and optional --fix for AI-powered failure repair
  • noflake license — Manage your subscription (activate, check status, deactivate)

Pricing

The Free tier includes init, templates, git hooks, and the coverage dashboard — no AI, no cost. Paid tiers unlock AI-powered commands:

TierPriceAI GenerationsAI UpdatesFix Runs
Free$0
Starter$9/mo10/mo25/mo15/mo
Pro$39/mo30/mo100/mo50/mo
Team$199/mo150/mo500/mo250/mo

Annual billing saves ~20%. See the pricing page for full details.

Tech Stack

RuntimeNode.js 20+ LTS
AIClaude Sonnet 4 via Anthropic SDK
TestingPlaywright
CLICommander.js
LanguageTypeScript

Requirements

  • Node.js 20+ (LTS)
  • An Anthropic API key (ANTHROPIC_API_KEY env var) — needed for AI-powered commands (write, update, run --fix)
  • Playwright (@playwright/test as peer dependency)

Quick Start

npm install -D noflake
npx noflake init --hook
npx noflake write