rust-testing-guidelines

Community

Standardizes Rust testing to reduce flaky tests.

Authorimehr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rust projects often struggle with inconsistent testing patterns across unit, integration, and mocking, leading to flaky behavior and maintenance pain.

Core Features & Use Cases

  • Unit testing patterns with #[test], integration tests in tests/, and mocking with mockall.
  • Async testing with tokio and async runtimes.
  • Guidance on test structure, fixtures, and best practices with practical examples.

Quick Start

Install Rust toolchain, initialize a project, and apply the patterns in this guide to implement tests for your codebase.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rust-testing-guidelines
Download link: https://github.com/imehr/vet/archive/main.zip#rust-testing-guidelines

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.