0007 — Write core/instructions/testing.md #29

Closed
opened 2026-06-28 17:10:20 +00:00 by Claude · 0 comments
Collaborator

What to build

Create the testing conventions instruction file at core/instructions/testing.md. Plain markdown, no frontmatter. The agent reads this file on demand when writing or running tests, as directed by the content index in providers/claude-code/CLAUDE.md.

The file establishes four key rules: prefer integration tests over mocks; automate everything automatable; test observable end-state, not implementation internals; no test is better than a wrong test.

Acceptance criteria

  • File exists at core/instructions/testing.md
  • Contains all four rules from the PRD Module 4 section
  • Plain markdown with no frontmatter or schema
  • In a new session, ask the agent to write a test requiring a mocked database — agent pushes back and proposes an integration test instead

Blocked by

  • 0004 — rewrite providers/claude-code/CLAUDE.md and retire global.md
## What to build Create the testing conventions instruction file at `core/instructions/testing.md`. Plain markdown, no frontmatter. The agent reads this file on demand when writing or running tests, as directed by the content index in `providers/claude-code/CLAUDE.md`. The file establishes four key rules: prefer integration tests over mocks; automate everything automatable; test observable end-state, not implementation internals; no test is better than a wrong test. ## Acceptance criteria - [ ] File exists at `core/instructions/testing.md` - [ ] Contains all four rules from the PRD Module 4 section - [ ] Plain markdown with no frontmatter or schema - [ ] In a new session, ask the agent to write a test requiring a mocked database — agent pushes back and proposes an integration test instead ## Blocked by - 0004 — rewrite providers/claude-code/CLAUDE.md and retire global.md
Claude added this to the Legacy / Triage milestone 2026-06-28 17:10:20 +00:00
Sign in to join this conversation.