BigHugger
sk Skill · affaan-m

rust-testing

Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage. Follows TDD methodology. Use when writing Rust tests — unit, integration, async, property-based, or coverage.

installs 8w
2,088
30-day movement
starts with the next reading
Related entries
6
Connections
0
yamltomlrustbashJavaScript

A SKILL.md agent skill covering Rust testing patterns: unit and integration tests, async testing with Tokio, property-based testing with proptest, mocking with mockall, doc tests, Criterion benchmarking, and coverage. It prescribes a TDD workflow organized into when-to-use, workflow, and rules sections.

Reach for it when you want an agent to write Rust tests following a consistent TDD methodology instead of ad-hoc patterns.

Use it to

  • Write unit tests in #[cfg(test)] modules
  • Set up integration test file structure
  • Write async tests with Tokio
  • Add property-based tests with proptest
  • Run coverage and Criterion benchmarks

For Rust developers using AI coding agents

Host repository
affaan-m/ECC
Installs, lifetime
3,300
Installs, 8 weeks
2,088
Host stars
261k
Host language
JavaScript
topicsrusttestingtddmockingcoverageasync