Hiding the Expressions Editor

,

Sometimes you may want to execute your tests without having to interact with the UTF interface. It can be annoying to have to tap the Use Tag button to kick off the unit tests before the countdown timer reaches zero.


Note

Unfortunately, the test harness does not allow you to hide the tag expressions editor in the current version of the Windows Phone Toolkit UTF. Nonetheless, it is shown here in anticipation of a future release of the UTF.


To run the tests as soon as the test harness launches, you need to set the StartRunImmediately property of the UnitTestSettings instance. This is demonstrated in this excerpt from the MainPage.xaml.cs file in the downloadable sample code:

public MainPage()
{
    InitializeComponent();

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

    Content = UnitTestSystem.CreateTestPage(settings);
}

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.149.232