52 references to WriteLine
RunTests (52)
AssemblyScheduler.cs (8)
41ConsoleUtil.WriteLine($"Scheduling {orderedTypeInfos.Count} assemblies"); 46ConsoleUtil.WriteLine($"\tAssembly: {Path.GetFileName(kvp.Key)}, Test Type Count: {typeCount}, Test Count: {testCount}"); 90ConsoleUtil.WriteLine($"\t{test} - {time:hh\\:mm\\:ss}"); 142ConsoleUtil.WriteLine($"Could not find test execution history for test {unmatchedLocalTest}"); 148ConsoleUtil.WriteLine($"Found historical data for test {unmatchedRemoteTest} that was not present in local assemblies"); 154ConsoleUtil.WriteLine($"{unmatchedLocalTests.Count} tests were missing historical data. {unmatchedRemoteTests.Count()} tests were missing in local assemblies. Estimate of total execution time for tests is {totalExpectedRunTime}."); 241ConsoleUtil.WriteLine($"Built {workItems.Length} work items"); 244ConsoleUtil.WriteLine($"- Work Item: {workItem.Id} Execution time: {workItem.EstimatedExecutionTime:hh\\:mm\\:ss}");
ConsoleUtil.cs (1)
47WithColor(color, () => WriteLine(message));
Options.cs (4)
202ConsoleUtil.WriteLine($"Error parsing command line arguments: {e.Message}"); 215ConsoleUtil.WriteLine($"Did not find artifacts directory at {artifactsPath}"); 228ConsoleUtil.WriteLine($"Did not find 'dotnet' at {dotnetFilePath}"); 234ConsoleUtil.WriteLine($"procdumppath was specified without collectdumps hence it will not be used");
Program.cs (18)
45ConsoleUtil.WriteLine($"Running '{options.DotnetFilePath} --version'.."); 47ConsoleUtil.WriteLine(string.Join(Environment.NewLine, dotnetResult.OutputLines)); 149ConsoleUtil.WriteLine($"Proc dump location: {options.ProcDumpFilePath}"); 154ConsoleUtil.WriteLine($"Test execution time: {elapsed}"); 166ConsoleUtil.WriteLine($"All tests passed"); 209ConsoleUtil.WriteLine($"Error writing log file {logFilePath}"); 210ConsoleUtil.WriteLine(ex.ToString()); 245ConsoleUtil.WriteLine($"succeeded ({new FileInfo(dumpFilePath).Length} bytes)"); 249ConsoleUtil.WriteLine($"FAILED with {processOutput.ExitCode}"); 250ConsoleUtil.WriteLine($"{procDumpExeFilePath} {args}"); 251ConsoleUtil.WriteLine(string.Join(Environment.NewLine, processOutput.OutputLines)); 256ConsoleUtil.WriteLine("FAILED"); 257ConsoleUtil.WriteLine(ex.Message); 265ConsoleUtil.WriteLine($"Taking screenshot on timeout at {screenshotPath}"); 267ConsoleUtil.WriteLine(string.Join(Environment.NewLine, output.OutputLines)); 268ConsoleUtil.WriteLine(string.Join(Environment.NewLine, output.ErrorLines)); 273ConsoleUtil.WriteLine("Roslyn Error: test timeout exceeded, dumping remaining processes"); 432ConsoleUtil.WriteLine($"Deleting '{dumpFile}' because we have exceeded our total dump size of {MaxTotalDumpSizeInMegabytes} megabytes.");
TestHistoryManager.cs (10)
51ConsoleUtil.WriteLine($"Missing required options to lookup test history, accessToken={accessToken}, projectUri={projectUri}, phaseName={phaseName}, targetBranchName={targetBranch}, pipelineDefinitionId={pipelineDefinitionIdStr}"); 61ConsoleUtil.WriteLine($"Getting last successful build for branch {targetBranch}"); 67ConsoleUtil.WriteLine($"Unable to get the last successful build for definition {pipelineDefinitionId} in {projectUri} and branch {targetBranch}"); 76ConsoleUtil.WriteLine($"Unable to get a run with name {phaseName} from build {lastSuccessfulBuild.Url}."); 80ConsoleUtil.WriteLine($"Looking up test execution data for build {lastSuccessfulBuild.Id} on branch {targetBranch} and stage {phaseName}"); 125ConsoleUtil.WriteLine($"Retrieved {testInfos.Keys.Count} tests from AzureDevops in {timer.Elapsed}. Total runtime of all tests is {totalTestRuntime}"); 134ConsoleUtil.WriteLine($"Missing environment variable {envVarName}"); 165ConsoleUtil.WriteLine($"Caught exception querying ADO for passing build: {ex}"); 187ConsoleUtil.WriteLine($"Caught exception querying ADO for test runs: {ex}"); 202ConsoleUtil.WriteLine($"Caught exception querying ADO for test runs: {ex}");
TestRunner.cs (11)
177ConsoleUtil.WriteLine("================"); 191ConsoleUtil.WriteLine("================"); 194ConsoleUtil.WriteLine("Extra run diagnostics for logging, did not impact run results"); 197ConsoleUtil.WriteLine(testResult.Diagnostics!); 206ConsoleUtil.WriteLine($"Errors {testResult.DisplayName}"); 207ConsoleUtil.WriteLine(testResult.ErrorOutput); 210ConsoleUtil.WriteLine($"Command: {testResult.CommandLine}"); 211ConsoleUtil.WriteLine($"xUnit output log: {outputLogPath}"); 217ConsoleUtil.WriteLine(testResult.ErrorOutput); 221ConsoleUtil.WriteLine($"xunit produced no error output but had exit code {testResult.ExitCode}. Writing standard output:"); 222ConsoleUtil.WriteLine(testResult.StandardOutput ?? "(no standard output)");