Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/UnitTestLauncher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ private static bool RunTest(
method.Invoke(null, null);
totalTicks = DateTime.UtcNow.Ticks - dt;

Debug.WriteLine($"Test passed: {method.Name}, {totalTicks}");
Console.WriteLine($"Test passed: {method.Name}, {totalTicks}");
}
catch (Exception ex)
{
if (ex.GetType() == typeof(SkipTestException))
{
Debug.WriteLine($"Test skipped: {method.Name}, {ex.Message}");
Console.WriteLine($"Test skipped: {method.Name}, {ex.Message}");
if (isSetupMethod)
{
// In case the Setup attribute test is skipped, we will skip
Expand All @@ -91,7 +91,7 @@ private static bool RunTest(
}
else
{
Debug.WriteLine($"Test failed: {method.Name}, {ex.Message}");
Console.WriteLine($"Test failed: {method.Name}, {ex.Message}");
}
}

Expand Down