Quick Start
Go from zero to a fully configured testing environment in under 2 minutes.
1. Install NoFlake
npm install -D noflake2. Initialize your project
npx noflake init --hookThis will:
- Create a
.noflake/state directory - Generate a
.noflakerc.jsonconfig file - Set up
tests/e2e/directory - Create a
playwright.config.tsif you don't have one - Install a post-commit git hook (with
--hookflag)
3. Install Playwright browsers
If this is your first time with Playwright:
npx playwright install4. You're done!
Your project is now set up and ready for NoFlake. Your testing environment is configured with sensible defaults.
What's next?When v1.0 ships, you'll be able to run
npx noflake write to auto-generate your full E2E test suite. For now, you can write Playwright tests manually in tests/e2e/ and run them with npx playwright test.Project structure after init
your-project/
āāā .noflake/
ā āāā manifest.md # Test manifest (created on first write)
ā āāā manifest.json # Machine-readable manifest
ā āāā test-plan.md # AI-generated test plan
ā āāā coverage-map.md # Route coverage tracking
ā āāā run-history.md # Pass/fail history
āāā tests/
ā āāā e2e/ # Your test files go here
āāā .noflakerc.json # NoFlake configuration
āāā playwright.config.ts # Playwright configuration