43 references to Selection
Infrastructure.Tests (42)
TestTriggerMap\SelectTestsCliTests.cs (36)
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));
101
var exit =
Selection
.Run(Options(
125
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
154
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
206
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
262
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
303
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
334
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
380
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
433
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
509
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
530
var field = typeof(
Selection
).GetField(
556
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
603
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: missing, skipLayer1: true, enforce: true)));
626
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: false, enforce: true)));
642
var exitCode =
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
662
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: false));
682
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
702
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
722
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
749
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
770
Selection
.Run(Options(repoRoot, propsPath, skipLayer1: true, enforce: true)));
791
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: missing, skipLayer1: true, enforce: true)));
832
Selection
.Run(Options(repoRoot, propsPath, from: advancedBaseSha, to: featureSha, skipLayer1: true, enforce: true));
870
var exit =
Selection
.Run(Options(repoRoot, propsPath, from: unrelatedSha, to: baseSha, skipLayer1: true, enforce: true));
912
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true, forceAll: true, forceAllReason: reason));
957
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: null, skipLayer1: true, enforce: true));
998
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: headSha, skipLayer1: true, enforce: true));
1036
Selection
.Run(Options(repoRoot, propsPath, from: baseSha, to: headSha, skipLayer1: true, enforce: true));
1054
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1075
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1095
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1124
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1159
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
1173
Selection
.Run(Options(repoRoot, propsPath, changedFilesPath: changed, skipLayer1: true, enforce: true));
TestTriggerMap\SelectTestsLayer1IntegrationTests.cs (5)
10
/// End-to-end integration of <see cref="
Selection
.Run"/> with Layer 1 (the in-process
43
var exit =
Selection
.Run(new RunOptions(
94
var exit =
Selection
.Run(new RunOptions(
139
var exit =
Selection
.Run(new RunOptions(
202
var exit =
Selection
.Run(new RunOptions(
TestTriggerMap\TestTriggerMapTests.cs (1)
787
var advisoryJobField = typeof(
Selection
).GetField(
SelectTests (1)
Program.cs (1)
109
return
Selection
.Run(new RunOptions(