Test Quality

Framework-neutral standards for the quality of an individual automated test in TypeScript: assert on behavior not implementation, meaningful assertions, one outcome-named scenario per test, builders over shared fixtures, test doubles that earn their place, deterministic order-independent tests, coverage read as a map of the unverified. Use it when writing tests for new or changed code, reviewing the tests in a pull request, or fixing a weak, brittle, or flaky test — or when the user says "test quality", "unit test review", "these tests are brittle", "flaky test", "over-mocking", "testing implementation details", "AAA", "arrange act assert", or "assert on behavior".

danielteles Updated

File contents

danielteles/awesome-agent-skills/tree/main/skills/test-quality commit cea9f29636

Frequently asked questions

npx skillmds@latest add danielteles/test-quality