Testing Best Practices

Enforce testing best practices when writing, reviewing, or improving tests. Covers Red-Green-Refactor TDD, property-based testing (invariant-proof and model-gap tactics), real objects over mocks, correctness by construction (types and schemas over runtime validation), test quality assessment (assertion density, not just coverage), E2E testing, contract tests, flaky test upgrades, and detection of sabotaged/skipped tests and logical defense-in-depth. Use when writing tests, reviewing test quality, fixing flaky tests, or when the user mentions TDD, testing, coverage, mocks, invariants, types vs tests, defense in depth, or test quality.

adewale b7a8233 18 files · 103.1 KB Updated

File contents

adewale/testing-best-practices/tree/main/skill-development/github-skill-origin-main/testing-best-practices commit b7a82339e7

Frequently asked questions

npx skillmds@latest add adewale/testing-best-practices-2