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 Updated 5 repo stars

File contents

arch3rPro/dsh-skills commit bc3dc654dc

Frequently asked questions

npx get-skill add arch3rpro/testing-tiers