XUnit or NUnit? What are the advantages and disadvantages of each other?

What are the pros and cons of each structure compared to each other? How well do they work with ASP.NET MVC? How much do they support mockery?

+50
c # unit-testing testing nunit xunit
Jul 17 '10 at 21:18
source share
2 answers

I only work with NUnit. This is very good for me. It is integrated with various add-ons for Visual Studio, such as Resharper, it supports in TeamCity and has a standalone test launcher

And it looks like NUnit has become the industry standard for unit testing.

And we have no serious problems with Moq or Rhino.Mock .

As I recall, Asp.Net Mvc (I only worked with 1.0) uses MS Unit. You can easily switch from MSUnit to NUnit.

A similar question has already been asked, maybe you will find some details there: NUnit vs MbUnit vs MSTest vs xUnit.net

+22
Jul 19 '10 at 9:31
source share

Old post, but this thought would be helpful to someone.

+13
Aug 15 2018-12-12T00:
source share



All Articles