Silverlight 3 unit test framework binaries available

16 July 2009

Two weeks ago, I posted the July 2009 release of the Silverlight Unit Test Framework online for folks looking for updated bits. Of course, the real gem is the Silverlight 3 version. Now that Silverlight 3 has shipped, you should definitely look at moving forward to this great new version.

Download the binaries

I’ve updated the MSDN code site for the product with the Silverlight 3-specific binaries, for anyone that is interested.

103K, Zip: Direct link
MSDN Code Gallery web site for the framework

Find the binaries in the Silverlight Toolkit

If you’re using the Silverlight Toolkit July 2009 release for Silverlight 3, you’ve already got the Silverlight unit test framework binaries on your machine. They’re located in the source code package (Source code.zip).

Here’s how to track them down…

When installing the Silverlight Toolkit

Make sure that you keep the "Source Code" feature of the Silverlight Toolkit checked. That will place the zip package on your system with the source, plus the unit test framework binaries.

Locate the source code for the toolkit

Go ahead and find the zip package after installation, and extract it to your system somewhere.

Jump into the Binaries folder of the extracted package

Use the Silverlight unit test framework

And now you’re good to go. You’ll find the binaries in that folder, and you should add references to both Microsoft.Silverlight.Testing and then the unit test metadata assembly, Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll

What’s new in the July 2009 bits of the Silverlight Unit Test Framework?

  • Support for the [Timeout(...)] attribute on test methods.
  • Improvements to the Test Service interface. The service now has an asynchronous reporting phase that allows for more robust automation options (details coming soon).
  • Minor interface changes
  • Minor bug fixes

No fundamental differences between the Silverlight 2 and 3 versions

There are no fundamental differences between the versions, and the Silverlight 2 version of the framework works fine with Silverlight 3 application development. But it makes sense to use the appropriate version.

Looking forward, we may move the unit test framework right into the Silverlight Toolkit, for ease of use.

Hope this helps!

Jeff Wilcox is a Software Engineer at Microsoft in the Open Source Programs Office (OSPO), helping Microsoft engineers use, contribute to and release open source at scale.

comments powered by Disqus