What problem does it solve? Rust developers often struggle to structure comprehensive test suites that cover unit logic, async code, error paths, and edge cases while maintaining high coverage. This Skill provides concrete patterns for every testing scenario in the Rust ecosystem, eliminating guesswork about which crates and idioms to use. ## Core Features & Use Cases - Full Testing Stack Patterns: Covers unit tests with #[cfg(test)] modules, integration tests in tests/, async tests with tokio::test, doc tests, and Criterion benchmarks. - TDD Workflow Guidance: Walks through the RED-GREEN-REFACTOR cycle with concrete Rust examples, including using todo!() as a placeholder for failing-first tests. - Advanced Techniques: Demonstrates property-based testing with proptest, parameterized tests with rstest, and trait-based mocking with mockall. - Use Case: When adding a new feature to a Rust service, use this Skill to write a failing parameterized test with rstest, mock the repository layer with mockall, implement the feature, then verify 80%+ coverage with cargo-llvm-cov. ## Quick Start Ask the assistant to write tests for a Rust function or module following TDD, and it will produce the appropriate unit, integration, or property-based test code.