Advanced Rust Testing & TDD Patterns
Implements comprehensive Rust testing strategies following TDD methodologies to ensure software reliability, performance, and high code coverage.
This skill provides a standardized framework for implementing robust testing patterns in Rust projects. It guides developers through the full Red-Green-Refactor TDD workflow, covering essential areas such as unit testing, integration testing, and documentation tests. Beyond basics, it incorporates advanced methodologies like property-based testing with Proptest, asynchronous testing for Tokio-based applications, and sophisticated mocking using Mockall. It is particularly useful for teams looking to enforce high-quality standards, automate coverage reporting with cargo-llvm-cov, and maintain performance through Criterion-based benchmarking.