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?
I have had success with StatLight. http://statlight.codeplex.com/
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With