47 references to Selection
Infrastructure.Tests (46)
TestTriggerMap\SelectTestsCliTests.cs (40)
10
/// Tests for the SelectTests CLI wiring (<see cref="
Selection
.Run"/>) — the argument handling and
71
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, forceAll: true, enforce: true));
90
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, explain: true));
114
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, explain: true));
140
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, explain: true));
174
var exit =
Selection
.Run(Options(
198
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
227
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
279
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
335
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
376
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
407
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
453
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
506
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
582
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
600
var field = typeof(
Selection
).GetField(
626
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
670
Assert.Equal(0,
Selection
.Run(options));
710
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: missing, skipLayer1: true, enforce: true)));
733
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: false, enforce: true)));
749
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
769
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
789
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
809
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
829
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
856
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
877
Selection
.Run(Options(repoRoot, propsPath, skipLayer1: true, enforce: true)));
898
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: missing, skipLayer1: true, enforce: true)));
939
Selection
.Run(Options(repoRoot, propsPath, from: advancedBaseSha, to: featureSha, skipLayer1: true, enforce: true));
983
exit =
Selection
.Run(Options(repoRoot, propsPath, from: unrelatedSha, to: baseSha, skipLayer1: true, enforce: true));
1036
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true, forceAll: true, forceAllReason: reason));
1081
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: null, skipLayer1: true, enforce: true));
1122
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: headSha, skipLayer1: true, enforce: true));
1160
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: headSha, skipLayer1: true, enforce: true));
1178
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1199
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1219
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1248
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1283
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1297
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
TestTriggerMap\SelectTestsLayer1IntegrationTests.cs (6)
10
/// End-to-end integration of <see cref="
Selection
.Run"/> with Layer 1 (the in-process
43
var exit =
Selection
.Run(new RunOptions(
83
var exit =
Selection
.Run(new RunOptions(
137
var exit =
Selection
.Run(new RunOptions(
182
var exit =
Selection
.Run(new RunOptions(
245
var exit =
Selection
.Run(new RunOptions(
SelectTests (1)
Program.cs (1)
115
return
Selection
.Run(new RunOptions(