Writing Tests

RAGAPPv3 testing policy and conventions. Load before writing or modifying any test, fixing a test/CI failure, or adding coverage. Covers backend pytest + unittest (SimpleConnectionPool dependency-override harness, FK cascades, the Python 3.11-vs-local event-loop trap) and frontend Vitest + React Testing Library + jsdom (MemoryRouter, Radix Select, react-virtual mock patterns). This repo's frontend uses Vitest, NOT bun:test.

zaxbyhub Updated

File contents

zaxbyhub/ragappv3/tree/main/.claude/skills/writing-tests commit f6a9734fce

Frequently asked questions

npx skillmds@latest add zaxbyhub/writing-tests-5