In the fifth part of our series, we examined Unit Testing in Silverlight 2. Not only did we release the source code to many Silverlight 2 controls, we shipped over 1500 unit tests that target them. We also shipped a very robust Silverlight Testing Framework that was built on the Visual Studio Team System unit test framework. This enables developers to write API-level and UI-level tests for their Silverlight applications.
ScottGu’s blog post on Silverlight 2 Unit Testing: http://weblogs.asp.net/scottgu/archive/2008/04/02/unit-testing-with-silverlight.aspx
ScottGu’s ChatClient Tutorial that we used for our demo: http://weblogs.asp.net/scottgu/archive/2008/02/28/first-look-at-using-expression-blend-with-silverlight-2.aspx
Jeff Wilcox’s (developer of the testing framework) post that I based our demos on: http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/
Jeff Wilcox’s post updating for Silverlight 2 Beta 2: http://www.jeff.wilcox.name/2008/06/11/silverlight-unit-test-framework-download-for-silverlight-2-beta-2/
Download Silverlight 2 Beta 1 Controls (source and tests): http://www.microsoft.com/downloads/details.aspx?FamilyID=ea93dd89-3af2-4acb-9cf4-bfe01b3f02d4&DisplayLang=en