Add testing expectations to CLAUDE.md
Explicit instruction for coding agents: write tests alongside code, run test suites before committing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
40b9c425a0
commit
f2f0bd31ae
1 changed files with 2 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ pnpm test:e2e:ui # Run E2E tests with Playwright UI
|
|||
Tests live in `e2e/` at repo root. Scoped per app via `testMatch` in `playwright.config.ts`.
|
||||
Playwright auto-starts dev servers if not already running.
|
||||
|
||||
**Important**: Write tests alongside implementation, not as an afterthought. When implementing a package or utility, add a co-located `*.test.ts` file. When implementing a user-facing feature, add or update E2E tests. Run `pnpm test` and `pnpm test:e2e` before committing.
|
||||
|
||||
## Code Conventions
|
||||
|
||||
- All user-facing strings must use i18n (`useTranslation()` hook, never hardcode strings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue