25 references to SummaryPath
aspire (5)
Testing\TestRunReporter.cs (5)
427TestCommandStrings.SummaryFile, MarkupHelpers.SafeFileLink(_interaction, SummaryPath)), allowMarkup: true); 435if (new FileInfo(SummaryPath).LinkTarget is not null) 437throw new IOException($"The test summary '{SummaryPath}' must not be a symbolic link."); 451File.Move(temporaryPath, SummaryPath, overwrite: true); 500SummaryPath = SummaryPath,
Aspire.Cli.Tests (20)
Testing\TestRunReporterTests.cs (20)
35AssertPrivateFile(reporter.SummaryPath); 36var summary = JsonNode.Parse(File.ReadAllText(reporter.SummaryPath))!; 65AssertPrivateFile(reporter.SummaryPath); 66Assert.Equal("running", JsonNode.Parse(File.ReadAllText(reporter.SummaryPath))!["testSummary"]!["outcome"]!.GetValue<string>()); 70AssertPrivateFile(reporter.SummaryPath); 71Assert.Equal("passed", JsonNode.Parse(File.ReadAllText(reporter.SummaryPath))!["testSummary"]!["outcome"]!.GetValue<string>()); 95Assert.Equal("running", JsonNode.Parse(File.ReadAllText(reporter.SummaryPath))!["testSummary"]!["outcome"]!.GetValue<string>()); 109AssertPrivateFile(report.SummaryPath); 196var beforeStop = JsonNode.Parse(File.ReadAllText(reporter.SummaryPath))!; 200AssertPrivateFile(reporter.SummaryPath); 203var expectedLink = Aspire.Cli.Utils.MarkupHelpers.SafeFileLink(interaction, reporter.SummaryPath); 206var summary = JsonNode.Parse(File.ReadAllText(reporter.SummaryPath))!; 226var summary = JsonNode.Parse(File.ReadAllText(reporter.SummaryPath))!; 308var summary = JsonNode.Parse(File.ReadAllText(reporter.SummaryPath))!; 344Assert.Equal(File.ReadAllText(reporter.SummaryPath), stdout.Text); 425Assert.Equal(File.ReadAllText(reporter.SummaryPath), stdout.Text); 652var summary = JsonNode.Parse(File.ReadAllText(reporter.SummaryPath))!; 672var summary = JsonNode.Parse(File.ReadAllText(reporter.SummaryPath))!; 698File.Delete(reporter.SummaryPath); 699File.CreateSymbolicLink(reporter.SummaryPath, target.FullName);