mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 16:10:26 +02:00
Better failure indication in test summary
This commit is contained in:
parent
77c3eebbae
commit
dcfcc03a55
1 changed files with 4 additions and 3 deletions
|
@ -638,12 +638,13 @@ namespace IDE
|
||||||
return;
|
return;
|
||||||
|
|
||||||
String completeStr = scope $"Completed {curProjectInfo.mExecutedCount} of {curProjectInfo.mTestCount} tests for '{curProjectInfo.mProject.mProjectName}'";
|
String completeStr = scope $"Completed {curProjectInfo.mExecutedCount} of {curProjectInfo.mTestCount} tests for '{curProjectInfo.mProject.mProjectName}'";
|
||||||
|
QueueOutputLine(completeStr);
|
||||||
if (curProjectInfo.mFailedCount > 0)
|
if (curProjectInfo.mFailedCount > 0)
|
||||||
{
|
{
|
||||||
completeStr.AppendF($" with {curProjectInfo.mFailedCount} failure{((curProjectInfo.mFailedCount != 1) ? "s" : "")}");
|
String failStr = scope $"ERROR: Failed {curProjectInfo.mFailedCount} test{((curProjectInfo.mFailedCount != 1) ? "s" : "")}";
|
||||||
|
QueueOutputLine(failStr);
|
||||||
}
|
}
|
||||||
completeStr.Append("\n");
|
QueueOutputLine("");
|
||||||
QueueOutputLine(completeStr);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void TestFailed()
|
public void TestFailed()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue