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 proven testing patterns and a TDD workflow so tests are written first, remain maintainable, and catch regressions early. ## Core Features & Use Cases - Full Testing Spectrum: Patterns for unit tests with #[cfg(test)] modules, integration tests in tests/, async tests with #[tokio::test], doc tests, and Criterion benchmarks. - Advanced Techniques: Parameterized tests with rstest, property-based testing with proptest, and trait-based mocking with mockall to isolate units under test. - Coverage & CI Integration: Commands for cargo-llvm-cov with an 80%+ line target and a ready GitHub Actions pipeline running fmt, clippy, tests, and coverage gates. - Use Case: When adding a new User::new validation function, write a failing test first (RED), implement the minimal code to pass (GREEN), refactor safely, then verify coverage meets the threshold before merging. ## Quick Start Ask the AI to write TDD-style tests for a Rust function, including unit tests, error cases, and mocks for its trait dependencies.