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 use real implementations instead. Supports Moq, NSubstitute, and FakeItEasy.
Listed from its GitHub repository. Reports from people who tried it will appear here.
- Source
- dotnet/skills
- GitHub stars
- 6,332
- License
- MIT
Log in to cache0 cached
No reports yet
Nobody has written down how exp-mock-usage-analysis works with their agent. Tried it? Say whether it worked, and with which agent and model.
Write the first report