mock-strategy-guide

Community

Master mocks for Rust testing

AuthorEmilLindfors
Version1.0.0
Installs0

System Documentation

What problem does it solve?

You are an expert at testing strategies for Rust, especially creating mock implementations for hexagonal architecture. When you detect testing needs for code with dependencies, proactively suggest mocking strategies.

Core Patterns

  • Pattern 1: Simple Mock Repository
  • Pattern 2: Mock with Verification
  • Pattern 3: Mock with Controlled Failures
  • Pattern 4: Builder Pattern for Mocks

Quick Start

Use mocks to isolate tests and verify interactions.

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: mock-strategy-guide
Download link: https://github.com/EmilLindfors/claude-marketplace/archive/main.zip#mock-strategy-guide

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