Visual Studio 11 Beta Supports Multiple Test Frameworks

| by Roopesh Shenoy Follow 0 Followers on Mar 06, 2012. Estimated reading time: 1 minute |

NUnit,, QUnit, Jasmine, Chutzpah are all supported in the Visual Studio 11 Beta along with MSUnit, promising better choice and over-all unit-testing experience for developers. And the list is expected to get bigger towards the final release of VS 11. 

Microsoft has worked with the community to build better Visual Studio drivers for the above mentioned testing frameworks. Developers can choose to stick with the in-built MSUnit framework, or decide to install these drivers and have in-built-like experience even with these open source tools. These adapters can also be configured to work with the build server like any other extension. You can see the full list of supported frameworks along with their download links on ScottGu’s update

However, just like other third-party extensions, they are not available with the express SKUs of Visual Studio. 

Even though Visual Studio shipped with MSUnit since earlier versions, a lot of .NET developers prefer open source tools such as NUnit and XUnit for unit testing their code. Besides, with the increasing use of JavaScript in web applications, frameworks such as Jasmine and QUnit too are being used more frequently. It is common for developers today to be working with multiple tools outside Visual Studio to have good test coverage and/or use other bridging tools (like TestDriven.NET and Chutzpah) for VS-integration. With VS 11 having in-built support for these frameworks though, it should be a much smoother experience. 

In the big picture, this fits into the trend of Microsoft working closer with open source communities. In recent times, we have seen several steps such as open-sourcing certain .NET technology bits and shipping JQuery and Modernizr with Visual Studio. In fact there is a dedicated website that Microsoft maintains about their open source initiatives with a large list of projects, most of them hosted on CodePlex

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

MSpec by Jeffrey Pratt

Here's hoping for MSpec!

Re: MSpec by Roopesh Shenoy

Hmm.. won't something like NUnit support cover that? Isn't it similar to Specflow where the actual test steps are defined in another unit testing framework like NUnit? I don't know about MSpec, but Specflow already has good VS Integration and the only part missing was running the NUnit tests.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you