开发者

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

开发者 https://www.devze.com 2023-04-08 18:43 出处:网络
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.

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

精彩评论

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