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.
I’ve updated the MSDN code site for the product with the Silverlight 3-specific binaries, for anyone that is interested.
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…
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.
Go ahead and find the zip package after installation, and extract it to your system somewhere.
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
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 Principal Software Engineer at Microsoft in the Open Source Programs Office, helping Microsoft scale to 15,000+ engineers using, contributing to and releasing open source.