views:

34

answers:

1

Hello!

I have a solution built up of several projects. One is a Silverlight 4 application library used for the ViewModel. This contains no UI code so I have no need for UI specific testing. I Only want to test the logic in the ViewModel.

Can I use a normal Unit test project in Visual Studio or do I need to go down the Silverlight Unit Testing route?

If I can't use a normal test project, why?

Many thanks! Per

A: 

You might want to checkout SilverUnit - it may take care of what you're after - http://cthru.codeplex.com/wikipage?title=SilverUnit%20examples&referringTitle=Home&ProjectName=cthru

http: //blog.typemock.com/2009/02/silverunit-true-unit-testing-for.html

http: //site.typemock.com/silverlight_unit_testing_page

As of last check, though, you do need a TypeMock license to use it, though.

(Sorry, my current "reputation" won't let me put in more than 1 hyperlink. Just remove the blank spaces after http: for the last 2 links)

avidgator