Where is the documentation for NUnit's mocking library, NUnit.Mocks?
I can't find anything in their official documentation or wiki.
Where is the documentation for NUnit's mocking library, NUnit.Mocks?
I can't find anything in their official documentation or wiki.
As I have been told recently Nunit.Mocks are not meant to be used for serious applications. Given it's obvious limitations you're better off with a different framework anyway...
NUnit.Mocks was originally developed for internal use in NUnit's own tests, although we no longer use it for that purpose.
In addition, it has been useful as a teaching tool, allowing users to gain familiarity with mocking techniques before moving on to more serious frameworks.
For production use, we recommend you install a full-featured mock object framework.
The NUnit project now uses NSubstitute and NUnit.Mocks is no longer being developed.
Source: NUnit.Mocks 2.6.2