TDaver
TDaver

Reputation: 7264

UnitTesting for Silverlight 4

I'm writing a class library for Silverlight 4, to use as base classes for a MVVM project. I wanted to unittest it, but was sad to see, that visual studio's fantastic unittesting projects only works for full CLR. What is the recommended way to unittest SL4 libraries (NOT UI - yet...)

Upvotes: 0

Views: 585

Answers (3)

Aim Kai
Aim Kai

Reputation: 2919

Further to the Unit Test Framework you may wish to try out the following

Statlight

http://statlight.codeplex.com/

Silverlight unit test framework

http://code.msdn.microsoft.com/silverlightut/

AgUnit

http://agunit.codeplex.com/

Upvotes: 1

Rafal Spacjer
Rafal Spacjer

Reputation: 4918

As vc 74 mentions there is UnitTest framework for SL4, that is part of Silverlight 4 Toolkit. There is also a tool that can help you speed up with working with this framework - take a look here: Silverlight Testing Automation Tool

Upvotes: 2

vc 74
vc 74

Reputation: 38179

SL now ships with the SL unit test framework

It is not integrated into the MSTest/VS environment (tests results window...) but works pretty well for testing view models

Upvotes: 2

Related Questions