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