1 write to Output
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\CommandResult.cs (1)
23Output = output;
12 references to Output
Aspire.Templates.Tests (12)
BuildAndRunTemplateTests.cs (1)
133Assert.Contains($"setting must be an https address unless the '{KnownConfigNames.AllowUnsecuredTransport}'", res.Output);
NewUpAndBuildStandaloneTemplateTests.cs (1)
42Assert.Contains(error, tce.Result.Value.Output);
NewUpAndBuildSupportProjectTemplatesTests.cs (1)
65Assert.Contains(error, tce.Result.Value.Output);
PerTestFrameworkTemplatesTests.cs (2)
52Assert.Matches("System.ArgumentException.*Resource 'webfrontend' not found.", res.Output); 53Assert.Matches("Failed! * - Failed: *1, Passed: *0, Skipped: *0, Total: *1", res.Output);
TemplateTestsBase.cs (1)
343Assert.Matches("Passed! * - Failed: *0, Passed: *1, Skipped: *0, Total: *1", testRes.Output);
tests\Shared\TemplatesTesting\AspireProject.cs (4)
123if (res.Output.Contains("Restore failed", StringComparison.OrdinalIgnoreCase) || 124res.Output.Contains("Post action failed", StringComparison.OrdinalIgnoreCase)) 126throw new ToolCommandException($"`dotnet new {cmdString}` . Output: {res.Output}", res); 469containerName = res.Output;
tests\Shared\TemplatesTesting\CommandResult.cs (2)
37if (!string.IsNullOrEmpty(Output)) 39_ = message.AppendLine(CultureInfo.InvariantCulture, $"{Environment.NewLine}Standard Output:{Environment.NewLine}{Output}");