mock-overload-resolution
CommunityPrevents silent overload mismatch bugs in Moq tests for .NET.
Authorjguadagno
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses issues caused by incorrect Moq setup when a managed method's signature changes, preventing silent test failures and false positives.
Core Features & Use Cases
- Detects signature mismatches between mocked methods and actual interface overloads in unit tests.
- Guides accurate setup updates by matching the actual method call parameters regardless of overload changes.
- Use case: When a method's number of parameters changes, this Skill helps update mock setups to avoid false test results and ensure tests accurately reflect code behavior.
Quick Start
Use the mock overload resolution skill to update your Moq setups after changing method signatures in your test files.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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-overload-resolution Download link: https://github.com/jguadagno/jjgnet-broadcast/archive/main.zip#mock-overload-resolution Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.