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?