What problem does it solve?
Choosing the wrong test tier wastes effort and leaves coverage gaps: helper-only tests miss caller-path bugs, mocked gateway seams skip the real retry/failover chain, and silently skipped tests hide missing CI coverage. This Skill provides a decision tree and repo-specific rules for writing and reviewing tests for Reborn behavior in the IronClaw Rust workspace.
Core Features & Use Cases
- Tier decision tree: Routes each change to the right tier — unit tests, caller-path side-effect tests, the in-process scripted-model harness, recorded LLM QA fixtures, Playwright e2e, or live-LLM canaries.
- Repo-specific traps: Enforces regression-per-fix checks, dual-backend (PostgreSQL + libSQL) parity, loud feature-gated skips instead of silent returns, and contract-doc-to-test naming.
- Exemplar test references: Points to living in-tree exemplar tests per tier via
references/exemplar-tests.md so new tests imitate proven shapes.
- Use Case: When fixing a bug in an approval-gated write path, use this Skill to decide that you need a caller-path integration test asserting the file exists on disk, modeled on
scenario_gate_then_approve.rs, rather than a helper-only unit test.
Quick Start
Ask the assistant to help you choose the right test tier and write a regression test for your Reborn behavior change, following the tier decision tree and exemplar tests.