开发者

How to remove the 5s delay of the Silverlight Unit Testing Framework

I use the Silver开发者_Go百科light Unit Testing Framework and it works pretty well.

However every time I launch my tests, I have to wait 5 seconds or click the "No, run all tests" button.

Is there a way to skip this step that I don't need?


In the App.xaml.cs:

Replace

RootVisual = UnitTestSystem.CreateTestPage();

With

UnitTestSettings settings = UnitTestSystem.CreateDefaultSettings();
settings.StartRunImmediately = true;
settings.ShowTagExpressionEditor = false;

RootVisual = UnitTestSystem.CreateTestPage(settings);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜