Mstest

Microsoft .NET Unit Testing Framework (MSTest)

Nunit

NUnit is an open source unit testing framework for .NET and Silverlight written in C#



Slower faster

Example

"From my experience mstest is much slower than nunit"

from question  

Comparison performance Nunit vs MsTest

"Nunit is faster as compared to mstest"

from question  

Visual Studio 2013 MSTest vs NUnit

Tests vs resharper

Example

"Nunit has better support for parameterized tests than mstest"

from question  

Moving away from Pex and Moles in VS 2012?

"You can then use nunit to run the tests outside vs or use tools like resharper to run those tests inside vs;actually mstest doesn t work with simple class library projects"

from question  

Why my test project doesn't appear on test explorer

Test method argumentnullexception

Example

"If the test method above does not throw an argumentnullexception mstest will mark the test as a fail;nunit has a more granular assert.throws that gives you more specific control of exactly where in the test method an exception is expected"

from question  

Moq - Testing that a controller method throws an exception

"Nonetheless i tried to compare the sum of all test speeds and in some cases nunit is faster and in other cases mstest is faster"

from question  

How much faster is NUnit compared to MSTest

"Thus i suspect when people say that nunit is much faster than mstest it is because of the loading and updating delays but the actual test execution time appears to be very similar"

from question  

How much faster is NUnit compared to MSTest

"The best testdriven.net disables all instrumentation that mstest does so it makes mstest blazing fast - much faster than nunit for example"

from question  

Discovering tests and launching the MSTest runner is taking too long

Others

Example

Sriwantha mstest is a simpler framework than nunit

from question  

Visual Studio 2012 MSTest vs NUnit pros and cons

Nunit allows abstract classes to be test fixtures so you can inherit test fixtures;mstest does not

from question  

Is there anything I can do in NUnit that I can't do in MSTest?

Mstest is supposed to have tight integration with team suite which since your company has already paid the outrageous fee for that is a point in its favor;nunit comes with less vendor lock-in and has a rich api

from question  

Is there anything I can do in NUnit that I can't do in MSTest?

For example nunit offers more assert methods than mstest

from question  

Are there real differences between NUnit and Microsoft's Unit Testing Framework (VS 2008)?

If you have a full version of visual studio 2008 rather than the express edition it integrates the inbuilt mstest much better than nunit does and cruise control also supports mstest

from question  

Free Application Lifecycle Management Tools for .NET Development

Various people told me to go with nunit since it s better than mstest apparently i have no idea and it also has very good support in resharper which i m using

from question  

How can I create NUnit tests with ReSharper?

Nunit is an older more established unit testing framework designed to do exactly one thing - unit testing;mstest is newer so it does not have the same level of maturity in its api

from question  

Are there real differences between NUnit and Microsoft's Unit Testing Framework (VS 2008)?

There are several of these implemented by 3rd parties for mstest;nunit is much faster

from question  

Is there anything I can do in NUnit that I can't do in MSTest?

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0