コード例 #1
0
 protected override void HandleTestRunTree(TestRunTree tree)
 {
     Console.WriteLine("Writing test state to: {0}", Path.GetFullPath(FileName));
     try
     {
         FileStore.SaveTestRun(FileName, tree);
     }
     catch (Exception ex) //avoid throwing exception back to parent - just continue
     {
         Console.WriteLine("Failed to write test state to {0}. Cause: {1}", Path.GetFullPath(FileName), ex);
     }
     Console.WriteLine("Finished.");
 }
コード例 #2
0
 protected override void HandleTestRunTree(TestRunTree tree)
 {
     Console.WriteLine("Writing test state to: {0}", Path.GetFullPath(FileName));
     FileStore.SaveTestRun(FileName, tree);
 }