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);
精彩评论