2 — Testable Design
Purpose
[stub: testable-design]
Metadata
| Author | Amit Singh |
| Scope | low-level-design |
Local graph
Related notes
1 — Unit Testing
Covers writing isolated, fast, deterministic tests that verify a single unit of behavior without touching external dependencies.
3 — Mocking
Covers using test doubles to isolate the unit under test from collaborators that are slow, external, or nondeterministic.
4 — Dependency Injection for Testing
Explains how injecting dependencies rather than constructing them internally lets tests substitute fakes without touching production code.
5 — Contract Testing
Covers verifying that a producer and consumer agree on an API or message contract without standing up the full integration.