Testing Tiers

Choose the right test tier for a change and keep the suite meaningful — unit, integration, real-entry-path, end-to-end, and snapshot tiers; test the real entry path rather than a hand-built harness; verify the world rather than the component's self-report; prefer the real implementation over a mock; and treat line coverage as necessary, never sufficient. Use when writing, planning, or reviewing tests, deciding what a change needs to be tested, or when a suite is green but the product is broken.

arch3rPro bc3dc65 2 files · 5.7 KB Updated

File contents

arch3rPro/dsh-skills/tree/main/skills/testing/testing-tiers commit bc3dc654dc

Frequently asked questions

npx skillmds@latest add arch3rpro/testing-tiers