Install
openclaw skills install testing-strategyDeep testing strategy workflow—risk mapping, test pyramid, levels of isolation, flakiness, data, CI gates, and quality signals beyond coverage %. Use when designing test approach, fighting flaky CI, or restructuring QA vs dev ownership.
openclaw skills install testing-strategyTesting strategy answers: what failures would hurt users, what’s cheap to catch, and what signals we trust in CI. Coverage percentage alone is a weak proxy—risk alignment matters.
Trigger conditions:
Initial offer:
Use six stages: (1) risk & quality goals, (2) pyramid & layers, (3) design per layer, (4) data & environments, (5) CI & gates, (6) observability of test health. Confirm release cadence and regulatory needs.
Goal: Connect tests to user impact and business risk.
Risk register → test priorities (not every line equally important).
Exit condition: Top 5 risks have explicit test intent.
Goal: Many fast tests, some integration, few e2e—proportion tuned to risk.
Exit condition: Written policy: what belongs in each layer for this codebase.
Goal: Tests are readable, stable, and debuggable.
Exit condition: Flake classification process exists (quarantine + ticket).
Goal: Representative data without PII leakage.
Exit condition: Data generation documented; secrets not in tests.
Goal: Fast feedback on PRs; nightly heavier suites if needed.
Exit condition: Merge policy tied to green checks; exceptions process defined.
Goal: Tests are owned like features.