public void StandardErrorReceiver(object sendingProcess, System.Diagnostics.DataReceivedEventArgs errLine) { if (!string.IsNullOrEmpty(errLine.Data)) { ErrorOutputStringBuilder.AppendLine(errLine.Data); CurrentContextStringBuilder.AppendLine($"Error: {errLine.Data}"); } }
public void Clear() { StandardOutputStringBuilder.Clear(); ErrorOutputStringBuilder.Clear(); CurrentContextStringBuilder.Clear(); CurrentTestModule = string.Empty; CurrentTestSuite = string.Empty; CurrentTestCase = string.Empty; testSuiteStack.Clear(); testSuiteStack.Push(string.Empty); }