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