Posted 24 October 2008 Tweet
Getting into the habit of unit testing your Silverlight applications is a little easier now. I posted updated templates for the Silverlight Unit Test Framework on the MSDN Code Gallery site. There are project and item templates for Visual C# as well as Visual Basic.
Direct download link to the templates (Zip, 46K)
Direct download link to the Silverlight Unit Test Framework binaries (Zip, 284k)
To install, just drop the templates and binaries in the right directories.
Project templates go here: %userprofile%\Documents\Visual Studio 2008\Templates\ProjectTemplates
Item templates: %userprofile%\Documents\Visual Studio 2008\Templates\ItemTemplates
And the unit test framework binaries: %programfiles%\Microsoft SDKs\Silverlight\v2.0\Libraries\Client
There's a breaking changes guide for the test framework, for anyone who was using the last version for Beta 1 and/or Beta 2 development.
Thanks to Marius Rochon for sending me one of these and challenging me to get them all updated for the final release of Silverlight 2. Hope this helps!
Jeff Wilcox is a Principal Software Engineer at Microsoft on the Azure team.
Jeff holds a BS in Computer Science from the University of Michigan.