views:

804

answers:

2

I've a set of tests for a silverlight application that use Silverlight's test framework. I can execute these from within visual studio and they run beautifully. I can also build my code from outside Visual studio using MSBuild following the tips in Jeff Wilcox's blog post: http://www.jeff.wilcox.name/2009/01/silverlight-msbuild-tricks-video/

I would like to execute my unit tests from the command line (Using MSBuild or NAnt etc.) and fail the Build if the tests fail. This does not appear to be possible with the current Silverlight MSBuild assets.

So my question is:

How can I execute silverlight unit tests from the command line using a build tool like MSBuild?

+2  A: 

This is a question I posed on the silverlight.net forum and got some response from Jeff Wilcox. I think this problem is still open:

http://silverlight.net/forums/p/57811/166439.aspx

The latest post recommends a promising powershell solution

BC
Any updates on this?
chakrit
+2  A: 

I have had success with StatLight. http://statlight.codeplex.com/

Brian Jimdar