Where is the NUnit.Mocks documentation? [closed]

2019-06-15 06:52发布

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

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

2条回答
Animai°情兽
2楼-- · 2019-06-15 07:35

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

查看更多
Animai°情兽
3楼-- · 2019-06-15 07:45

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

查看更多
登录 后发表回答