3 writes to Tests
AnalyzeCiFailure (1)
AnalysisValidator.cs (1)
110
Tests
= boundTests,
AnalyzeCiFailure.Tests (2)
AnalyzeCiFailureRuleTests.cs (1)
576
=> new() { Verdict = Value<AnalysisVerdict>(verdict), Jobs = jobs,
Tests
= tests.IsDefault ? [] : tests, Causes = causeIds.IsDefault ? [] : causeIds };
AnalyzeCiFailureVerdictMatrixTests.cs (1)
85
Tests
= tests,
19 references to Tests
AnalyzeCiFailure (12)
AnalysisRerunner.cs (1)
61
analysis.Report.Verdict != AnalysisVerdict.TransientInfrastructure || analysis.Report.
Tests
.Length != 0)
PrCommentRenderer.cs (1)
29
var tests = analysis.
Tests
.Where(test => test.Classification == TestClassification.Flaky).Select(test =>
RunSummaryBuilder.cs (1)
93
Tests = analysis.
Tests
.Select(test => new SummaryTest
ValidationRules.cs (9)
55
foreach (var test in analysis.
Tests
)
67
analysis.
Tests
.All(t => jobs.Any(j => j.Name == t.Job))))
89
var hasFlakyTestInJob = job is not null && analysis.
Tests
.Any(t => t.Classification == TestClassification.Flaky && t.NormalizedJobId == job.Id);
129
var hasFlakyTests = analysis.
Tests
.Any(t => t.Classification == TestClassification.Flaky);
138
if (analysis.
Tests
.Any(test => test.Classification != TestClassification.TransientInfrastructure))
148
if (analysis.
Tests
.Any(t => t.Classification == TestClassification.CodeIssue))
198
analysis.
Tests
.Any(test => test.Classification == TestClassification.Flaky);
212
foreach (var test in analysis.
Tests
.Where(test => test.Classification == TestClassification.TransientInfrastructure))
235
var flaky = analysis.
Tests
.Where(t => t.Classification == TestClassification.Flaky).ToArray();
AnalyzeCiFailure.Tests (7)
AnalyzeCiFailureCollectionTests.cs (1)
65
Assert.Empty(accepted.Report.
Tests
);
AnalyzeCiFailureEvidenceTests.cs (2)
66
accepted.Report.
Tests
,
213
Assert.Equal("Trusted debugger timeout", accepted.Report.
Tests
[0].Error);
AnalyzeCiFailureOverflowTests.cs (1)
290
Assert.Equal(11, result.Report.
Tests
.Length);
AnalyzeCiFailureTransientContractTests.cs (3)
52
Assert.Equal("transient-infra", CiFailureJson.EnumText(Assert.Single(analysis.Report.
Tests
).Classification!.Value));
53
Assert.Equal("Fixture container cannot start on the runner kernel.", analysis.Report.
Tests
[0].Error);
113
var test = Assert.Single(accepted.Report.
Tests
);