The Microsoft Silverlight Unit Test Framework (Microsoft.Silverlight.Testing) is a simple, extensible unit testing solution for rich Silverlight 2 applications, controls and class libraries.
Unit Test Framework for Microsoft Silverlight
Works great with Silverlight 2 and Silverlight 3
Where to find the test frameworkIf you have the
Silverlight Toolkit installed on your machine, you'll find it in the source drop. The Silverlight Toolkit team uses the test framework for all the unit tests that ship.
SilverlightThe source code to the unit test framework is now available on CodePlex: the Silverlight Toolkitdownload new templatesbreaking changes information 
This test framework is a solution built by developers, for developers, to help get a jump start on building richer applications and components for Microsoft Silverlight 2. The framework is currently available as a binary download for use in your own applications. We first released this framework along with the source code and unit tests to the Silverlight controls at the
MIX '08 conference in Las Vegas earlier this year.
The unit test framework is compatible with Microsoft Silverlight 2 and 3.
Windows and
Mac.
Safari,
Mozilla Firefox, and
Internet Explorer support.

- unit tests run right inside the web browser
- enables testing of rich controls and the entire Silverlight platform
- rich in-browser logging
- basic asynchronous testing support
Sample rich test application running inside of the Apple Safari browser on Mac OS X 10.5 
The Microsoft unit test framework is one of several popular .NET unit testing metadata choices out there (
learn more). Around since Visual Studio 2005, we decided to make it easier for everyone to get started in the Silverlight world by using the same metadata. The Silverlight unit test framework includes the same assertions and metadata that you'll find in Visual Studio 2008 Professional.
If you're new to Microsoft's effective and easy-to-use unit test framework, then you'll be able to use your Silverlight testing knowledge while building applications on the full .NET framework platform, including Windows Forms, WPF, and .NET 2.0 through 3.5 class libraries.
Original tutorials, articles, and screencasts can be found at
http://www.jeff.wilcox.name/blog/.
Jeff Wilcox
Software Development Engineer
Microsoft Corporation
http://www.jeff.wilcox.name/contact Microsoft.Silverlight.Testing is not an officially supported Microsoft product. This is not a CTP, nor a Beta: we're simply sharing our in-browser testing platform hoping that you'll find that it's useful and rocks. The content on this site represents my own personal opinions and thoughts at the time of posting, and does not reflect those of my employer in any way.