sourcenouveau
sourcenouveau

Reputation: 30554

Where is the NUnit.Mocks documentation?

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

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

Upvotes: 16

Views: 13126

Answers (2)

Kempeth
Kempeth

Reputation: 1948

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

Upvotes: 14

serkanpektas
serkanpektas

Reputation: 71

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

Upvotes: 7

Related Questions