开发者

xUnit or NUnit? What advantages and disadvantages of each other? [duplicate]

This question already has answers here: NUnit vs. MbUnit vs. MSTest vs. xUnit.net [closed] (7 answers) 开发者_如何转开发 Closed 9 years ago.

What are the pluses and minuses of each framework, comparing to each other? How well they work with ASP.NET MVC? How well they support mocking?


I work with NUnit only. It is pretty good for me. It is integrated into different add-ons for Visual Studio like Resharper, it supports in TeamCity and it has stand-alone test launcher

And looks like NUnit become an industry standard for unit testing.

And we haven't had any major issues with Moq or Rhino.Mock.

As I remember Asp.Net MVC (I worked with 1.0 only) uses MS Unit. You may easily switch from MSUnit to NUnit.

A similar question was asked already, maybe you find some details here: NUnit vs. MbUnit vs. MSTest vs. xUnit.net


An old post, but thought this would be helpful to someone.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜