exp-mock-usage-analysis

Community

Analyze and optimize .NET test mock usage.

Authorojrojas
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps identify and rectify issues in .NET test mock usage, such as dead, unreachable, redundant, or replaceable mocks, improving test quality and efficiency.

Core Features & Use Cases

  • Mock Usage Audit: Trace and analyze mock setups to find dead, unreachable, redundant, or replaceable mocks.
  • Mock Framework Support: Supports Moq, NSubstitute, and FakeItEasy.
  • Use Case: When reviewing .NET test code and wanting to ensure mocks are used effectively, without over-mocking or unnecessary complexity.

Quick Start

Analyze the mock usage in your .NET tests by providing the test code and production code for analysis.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: exp-mock-usage-analysis
Download link: https://github.com/ojrojas/AgentsInstructions/archive/main.zip#exp-mock-usage-analysis

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 620,000+ vetted skills library on demand.