exp-mock-usage-analysis

Audits .NET test mock usage by tracing each mock setup through the production code's execution path to find dead, unreachable, redundant, or replaceable mocks. Use when the user asks to audit mock usage, find unused or unnecessary mock setups, check if mocks are needed, reduce mock duplication or over-mocking, simplify test setup, or review whether mock configurations like ILogger/IOptions should

skillالترخيص: MIT المصدر: dotnet/skills

التثبيت

انسخ هذا المجلد إلى مشروع Claude Code (يتطلب Node.js):

npx degit dotnet/skills/plugins/dotnet-experimental/skills/exp-mock-usage-analysis .claude/skills/exp-mock-usage-analysis

أو ثبّته لكل المشاريع:

npx degit dotnet/skills/plugins/dotnet-experimental/skills/exp-mock-usage-analysis ~/.claude/skills/exp-mock-usage-analysis

محتوى الملف

من إنشاء مؤلفيه الأصليين ومنشور بترخيص MIT. نعرضه دون تغيير، مع ذكر المصدر ورابط إليه. المصدر ↗

…