Testing Frameworks

Topics: General
May 10, 2012 at 5:31 AM

Hello,

First I know this is a little off the topic for this project.

But I have a question about testing frameworks. I have used nUnit, jUnit, and MSTest(built-in with visual studio).  Between nUnit and MSTest which of these are mostly used at Microsoft?

Coordinator
May 10, 2012 at 7:14 AM

Hi Harrison,

The short answer is that each and every team at Microsoft uses whatever fits their needs best. The fit depends on what type of project it is, what types of tests need to be written (proper unit tests, integration tests, functional tests, performance tests, stress tests, etc.), as well as the experience of the people writing the tests.

Even within the ASP.NET team we have different projects using NUnit, xUnit.net, and MSTest all for managed code. And some JavaScript tests are written using qUnit. And we have yet other tests that are written using various custom test frameworks that aren't available outside. We have yet other functional tests written using LTAF, which was built internally, and is also available externally.

I hope this answer was somewhat useful :)

Thanks,

Eilon

May 10, 2012 at 8:55 AM

Hi Eilon,

Thanks for the information.