What problem does it solve? Writing thorough Rust tests requires choosing the right framework, mocking strategy, and test layout for each scenario, and mistakes lead to flaky tests, poor coverage, and slow debugging cycles. ## Core Features & Use Cases - Structured Test Generation: Follows a five-phase protocol covering context analysis, strategy selection, test case design, code generation, and verification for unit, integration, doc, and async tests. - Framework Guidance: Provides working examples for rstest fixtures and parametrization, mockall trait mocking, tokio async tests, insta snapshots, and proptest property-based testing. - Failure Diagnosis & Coverage: Includes debugging workflows with backtraces and thread isolation, flaky-test guardrails, and coverage commands using cargo-tarpaulin and cargo-llvm-cov. - Use Case: When asked to add tests for a Rust service with trait-based dependencies, the skill inspects the code, selects mockall for the trait boundary, generates rstest-parametrized tests with edge cases, and outputs the cargo nextest commands to verify them. ## Quick Start Ask the assistant to write unit and integration tests for a specific Rust module using rstest and mockall, then run them with cargo nextest.