I'm using the Silverlight UnitTest framerwork does anyone have a good example have how to unit test an application with it? I'm using it quite successfully to unit test a silverlight class library.
Any pointers and links would be greatly appreciated.
Thanks, Nath
I've written a couple of blog posts about the Silverlight Unit Testing Framework. The first one covers how to test asynchronous code using the asynchronous attribute and some of the more advanced features of the framework. The post can be found at http://jonas.follesoe.no/UnitTestingAsynchronousSilverlightCode.aspx
The second post is about organizing your tests using the Tag-attribute. This enables you to have unit/integration/performance/UI tests in the same test suite, but only execute one specific category at a time. The blog post can be found at http://jonas.follesoe.no/EfficientTestingInSilverlight2UsingTags.aspx
Nath, The Silverlight Control Toolkit uses it. Why not take a look at the unit tests there?
http://www.codeplex.com/silverlight
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With