Where is the NUnit.Mocks documentation? [closed]

2019-06-15 07:44发布

问题:

Where is the documentation for NUnit's mocking library, NUnit.Mocks?

I can't find anything in their official documentation or wiki.

回答1:

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...



回答2:

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