Writing Tests

Use when writing or reviewing tests in any language, or diagnosing a suite that is slow, brittle, or hard to read. Triggers: "write tests", "how should I test this", "what kind of test", "test is flaky/fragile", "should I mock this", "test is hard to read". Python-specific practices (mocking, pytest, async) are included in `references/python-testing.md`.

ahgraber Updated

File contents

ahgraber/skills/tree/main/skills/writing-tests commit be1008c26c

Frequently asked questions

npx skillmds@latest add ahgraber/writing-tests