We are starting a big LOB application using Silverlight.
I was wondering if you have any experience with Testing Silverlight apps, what are the best solutions you found and if you encountered any pitfalls.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A stalwart individual named Jeff Wilcox has developed a unit test framework targeting Silverlight 2 specifically. It works well.
http://code.msdn.microsoft.com/silverlightut/
I also use Rhino Mocks 3.5 For Silverlight as my mocking framework, developed by Oren Eini. Rhino Mocks is free and excellent. It also offers Silverlight support:
http://ayende.com/projects/rhino-mocks.aspx
I use Prism 2.0, and Unity IoC, which help facilitate the MVVM pattern. This makes testing a breeze. One pitfall that I find, is that Silverlight unit tests run inside a web browser, which hampers continuous integration.
ib.