private static bool RunTestFile(TestVm testFile) { testFile.Run(RecoveryAlgorithm.Smart); switch (testFile.TestState) { case TestState.Skipped: ContinuePrint("skipped.", ConsoleColor.Yellow); break; case TestState.Failure: ContinuePrint("failed!", ConsoleColor.Red); Indent(); Diff(testFile); Unindent(); return(true); case TestState.Ignored: ContinuePrint("ignored.", ConsoleColor.Yellow); break; case TestState.Inconclusive: ContinuePrint("inconclusive.", ConsoleColor.Yellow); break; case TestState.Success: ContinuePrint("passed.", ConsoleColor.Green); break; } return(false); }
private void RunTest(TestVm test) { test.Run(); ShowDiff(test); }