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 ...

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.