SharpDevelop currently comes with support for NUnit and offers the Gallio Addin for MBUnit. Recently Matt Ward announced the addition of MSTest support via a new add-on.
At this week's VS Live conference, Microsoft announced a new Build Service for Team Foundation Service, the Azure-based version of Team Foundation Server. The build service will automatically compile and run unit tests every time files are checked in.
There are several components in an ASP.NET MVC 3 web app – models, controllers, route-handlers, views, html-helpers, client-side code etc. Most of these can be unit-tested, others need integration tests, and several good practices can help you keep your tests more maintainable and avoid making them brittle.
A New Unit Test Explorer, ability to run tests on each build, better Code Coverage tool, support for third party frameworks, a new VS Fakes Framework, better performance and more are all coming together in Visual Studio 11 to provide much better Unit Testing experience for Developers.
NUnit, XUnit.net, 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.
The latest release of NUnit showcases Action Attributes, a feature which enables the orchestration of test actions across suites, tests, and test cases. Developers can arrange the execution of setup, teardown, and other testing side-effects by applying Action Attributes, which encapsulate test actions, to classes, interfaces, methods, and assemblies within their test projects.
An ongoing problem with specialized platforms is the lack of support for unit testing. Developers are forced to compromise the quality of their tests or their build process in order to get anything working. Recently MonoTouch has made progress in this area, but Windows Phone and Mono for Android still lag behind.
tSQLt is a free, open-source framework for unit testing in SQL Server. By writing tSQLt test cases, developers can create fake tables and views based on production data, then compare expected versus actual results. Tests can be created directly in SQL Server Management Studio.
VS11 will provide new tools that expedite unit testing, refactoring, and easier communication across the entire development team. These new components are intended to benefit everyone from developers, and testers to those deploying and maintaining the resulting application.
Red Gate's .NET Demon is a new Visual Studio tool that continuously tests, compiles, and auto-saves code in the background.
SQL Test is the user interface for tSQLt, the open source unit testing framework for SQL Server. From the SQL Test window, users can create test classes, view existing unit tests, execute them, and view the results within a dockable panel in SQL Server Management Studio.
EclipseSource has released the first stable version for an open source JUnit extension that automates testing of REST/HTTP services supporting both synchronous and asynchronous calls.
Richard Szalay is demonstrates how Reactive Extensions can be used to make asynchronous testing with the Silverlight Unit Testing Framework less error prone.
Microsoft has unveiled at TechEd North America 2011 some of the new features coming in Visual Studio: more Agile tools for project planning and collecting stakeholder feedback, a connector for providing operations feedback to developers, plus architecture diagrams and unit testing for VC++.
Cedric Beust has announced TestNG 6.0, with Guice and YAML support and including improvements to the Eclipse TestNG plug-in.