15

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

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

sourcenouveau
  • 29,356
  • 35
  • 146
  • 243
  • 9
    This question might be moot, since Charlie Poole stated (http://groups.google.com/group/nunit-discuss/browse_thread/thread/2eac69ad9f35c3c9/d76235caaf8b4af8) in 2008: "I generally fix bugs but don't enhance it, since I want folks to look at the more complete mock frameworks like Rhino or NMock once they get the basic idea." – sourcenouveau May 21 '10 at 17:28

2 Answers2

13

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

Community
  • 1
  • 1
Kempeth
  • 1,856
  • 2
  • 22
  • 37
  • apparently Wikipedia didn't like the mocking frameworks page, so here's a similar list here on SO: http://stackoverflow.com/questions/3561524/what-are-the-predominant-net-3-0-mocking-frameworks – Andrew Nov 21 '11 at 15:44
6

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

serkanpektas
  • 61
  • 1
  • 1