Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Design a sustainable test architecture using test desiderata, test pyramid tradeoffs, fast and slow test separation, integration boundaries, CI feedback loops, and architecture choices that make code testable. Use when a test suite is too slow, too brittle, too mock-heavy, unclear about unit vs integration coverage, or needs a testing strategy before major growth.
.claude/skills/hashgraph-online-test-architecture-strategy/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 12% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -1% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 24% | 0% |
| case-14 | ✓→✓ | = Same ✓ | 25% | 0% |
Use this skill to reason about the shape of a test suite, not one test at a time. The goal is a suite that gives confidence, runs quickly enough for flow, and still catches integration failures at important boundaries.
Primary source: Harry Percival, Test-Driven Development with Python, 3rd ed. Guidance is transformed and paraphrased from chapter 27 and Appendix A, especially test desiderata, fast/slow test tradeoffs, test pyramid thinking, boundaries, ports and adapters, functional core/imperative shell, and when to rethink architecture.
Read test-architecture-patterns.md for audit questions, migration patterns, and decision tables.
Before finishing, produce:
Other measured skills in the registry, with their headline benchmark lift.