private static void StartTests (bool excludeManual)
 {
   EnsureSynchronizationContext();
   var display = new TestResultDisplay();
   display.Show();
   var runner = new TestRunner (display);
   ManualAssert.Initialize (display);
   runner.Run (Assembly.GetExecutingAssembly(), excludeManual);
 }
 private void StartTestsButton_Click(object sender, RibbonControlEventArgs e)
 {
     var display = new TestResultDisplay();
       display.Show();
       var runner = new TestRunner (display);
       ManualAssert.Initialize (display);
       OutlookTestContext.Initialize (Globals.ThisAddIn.Application.Session);
       runner.Run (Assembly.GetExecutingAssembly());
 }
 private static void StartTests (bool excludeManual)
 {
   EnsureSynchronizationContext();
   var display = new TestResultDisplay();
   display.Show();
   var runner = new TestRunner (display);
   ManualAssert.Initialize (display);
   OutlookTestContext.Initialize (Globals.ThisAddIn.Application.Session);
   runner.Run (Assembly.GetExecutingAssembly(), excludeManual);
 }