Dotnet Testing Nsubstitute Mocking

Using NSubstitute to create test doubles (Mock, Stub, Spy) specialized skill. Used when isolating external dependencies, simulating interface behavior, and validating method calls. Covers Substitute.For, Returns, Received, Throws and complete guidance. Keywords: mock, stub, spy, nsubstitute, mock, test double, test double, IRepository, IService, Substitute.For, Returns, Received, Throws, Arg.Any, Arg.Is, isolate dependencies, simulate external services, dependency injection testing

rudironsoni Updated

File contents

rudironsoni/synaxis/tree/main/.agent/skills/dotnet-testing-nsubstitute-mocking commit 1dc8d481e3

Frequently asked questions

npx skillmds@latest add rudironsoni/dotnet-testing-nsubstitute-mocking-2