Where is the NUnit.Mocks documentation? [closed]

元气小坏坏 提交于 2019-12-23 06:57:42

问题


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



来源:https://stackoverflow.com/questions/2884040/where-is-the-nunit-mocks-documentation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!