- Always write table-driven tests with named cases and t.Run.
- Keep fixtures in testdata.
Test structure is an AI agent skill from the GitHub repository Goldziher/ai-rulez. How to structure Go tests. Use when writing Go unit tests; not for integration tests.
.claude/skills/test-structure/SKILL.md.cursor/rules/test-structure.md.agents/skills/test-structure/SKILL.md