Posted 25 March 2008 Tweet
In my introductory post about the Silverlight unit testing work we’ve done, I also included some Visual Studio project and item templates that make it easier to add tests to your own apps and class libraries. Here’s that information in one place:
SilverlightTestProject.zip (8.8k)
To install the template, save this file into your “%userprofile%\Documents\Visual Studio 2008\Templates\ProjectTemplates” directory
This project template is used for adding tests to your existing Silverlight solution. To use the test project once added to your project, simply right-click on it, set it as the ‘StartUp project’ and begin debugging.
SilverlightTestClass.zip (8.0k)
To install, save this into “%userprofile%\Documents\Visual Studio 2008\Templates\ItemTemplates”
This is a simple test class template that includes the unit test metadata namespace, a sample test class, and a single inconclusive test method.
Test projects meet these conditions:
Hope this helps!
Jeff Wilcox is a software development engineer at Microsoft who leads exciting open source projects on the Windows Azure team. Jeff has been at Microsoft 8 years and is an alumnus of the University of Michigan.
Jeff leads the open source Windows Azure SDK and cross-platform command line tools development team at Microsoft. Offering tooling for OS X, Windows and Linux and SDKs for Node.js, Java, .NET, PHP, Python; the work is open source, licensed under the Apache 2 license.
4th & Mayor is the top-rated social app on the Windows Phone Store with thousands of five star reviews. The best foursquare experience for Windows Phone, it is powered by a Node.js backend running on Windows Azure & Amazon Web Services. Jeff Wilcox is the developer of the app.