LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

rust-testing - Rust Testing Patterns

Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage following TDD methodology.

Tags

Updated: 2026-09-24

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write unit and integration tests
  • Implement property-based testing
  • Mock dependencies using mockall
  • Check code coverage with llvm-cov
  • Create performance benchmarks
  • Write executable documentation tests

Inputs

  • Target Rust source code
  • Rust project files

Outputs

  • Test results
  • Coverage reports
  • Benchmark results

Requirements

  • Rust toolchain and cargo
  • cargo-llvm-cov tool

Source

  • Spec: SKILL.md
rust
testing
tdd
unit-test
integration-test
coverage
Write unit and integration tests
Implement property-based testing
Mock dependencies using mockall
Check code coverage with llvm-cov
Target Rust source code
Rust project files
Test results
Coverage reports
Benchmark results