Print Page | Close Window

Unit Test View Models

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2214
Printed Date: 11-Jun-2026 at 1:50am


Topic: Unit Test View Models
Posted By: mseeli
Subject: Unit Test View Models
Date Posted: 06-Oct-2010 at 4:19am
I am building a Silverlight application with DefForce. I want to Unit Test my View Models. Can I test them using the regular MS-Test framework or do I have to run them within the Silverlight test framework. The View Model itself has nothing Silverlight specific in it,  so testing it with the regular MS-Test should be possible. The only question is how does DefForce works with this? Does it depend on the licence? We have only a Silverlight licence. Do we need to upgrade to run Unit Tests?

Greetings
Markus Seeli



Replies:
Posted By: davidklitzke
Date Posted: 06-Oct-2010 at 10:31am
There is a good example of how to write Unit Tests for a Silverlight application in the DevForce Resource Center. See:

http://drc.ideablade.com/xwiki/bin/view/Documentation/Code_Part%2099_Addendum_AddingUnitTests





Print Page | Close Window