What problem does it solve? Writing tests in this repository requires following strict conventions across two stacks — backend pytest/unittest with a SimpleConnectionPool dependency-override harness, and frontend Vitest with React Testing Library and jsdom — and violating them causes CI failures, vacuous regression tests, or false passes. ## Core Features & Use Cases - Backend test policy: Covers the SimpleConnectionPool + dependency_overrides harness, FK cascade seeding, CSRF bypass classification, conftest autouse fixtures, and the Python 3.11 event-loop trap. - Frontend test patterns: Provides Vitest fake-timer patterns, MemoryRouter wrapping, Radix Select and react-virtual mocks, and async reconnect-loop testing with mock sequencing. - Regression test verification: Requires stashing the source fix and confirming the new test fails on unfixed code, preventing test theater. - Use Case: When fixing a bug in a retry/backoff worker, load this Skill to learn that production code must re-check the shutdown flag after sleep, and that the test should stop the worker mid-sleep and assert queued work is dropped. ## Quick Start Load the writing-tests skill before writing or modifying any test, then follow its backend or frontend conventions for the file you are changing.