49 references to Selection
Infrastructure.Tests (48)
TestTriggerMap\SelectTestsCliTests.cs (42)
12
/// Tests for the SelectTests CLI wiring (<see cref="
Selection
.Run"/>) — the argument handling and
73
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, forceAll: true, enforce: true));
92
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, explain: true));
116
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, explain: true));
142
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, explain: true));
176
var exit =
Selection
.Run(Options(
200
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
229
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
281
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
337
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
378
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
409
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
455
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
508
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
584
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
602
var field = typeof(
Selection
).GetField(
628
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
672
Assert.Equal(0,
Selection
.Run(options));
712
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: missing, skipLayer1: true, enforce: true)));
735
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: false, enforce: true)));
751
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
771
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
791
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
811
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
835
Assert.Equal(0,
Selection
.Run(options));
929
Assert.Equal(0,
Selection
.Run(Options(repoRoot, propsPath, skipLayer1: true, forceAll: true, enforce: true)));
1024
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1051
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1072
Selection
.Run(Options(repoRoot, propsPath, skipLayer1: true, enforce: true)));
1093
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: missing, skipLayer1: true, enforce: true)));
1134
Selection
.Run(Options(repoRoot, propsPath, from: advancedBaseSha, to: featureSha, skipLayer1: true, enforce: true));
1178
exit =
Selection
.Run(Options(repoRoot, propsPath, from: unrelatedSha, to: baseSha, skipLayer1: true, enforce: true));
1231
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true, forceAll: true, forceAllReason: reason));
1276
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: null, skipLayer1: true, enforce: true));
1317
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: headSha, skipLayer1: true, enforce: true));
1355
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: headSha, skipLayer1: true, enforce: true));
1373
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1394
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1414
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1443
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1478
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1492
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(