New Posts New Posts RSS Feed: Unit Test View Models
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Unit Test View Models

 Post Reply Post Reply
Author
mseeli View Drop Down
Newbie
Newbie
Avatar

Joined: 20-Sep-2010
Location: Switzerland
Posts: 31
Post Options Post Options   Quote mseeli Quote  Post ReplyReply Direct Link To This Post Topic: Unit Test View Models
    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
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post 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


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down