Skip to content

Exercise the sync launch from the sync named tests - #781

Merged
SimonCropp merged 2 commits into
mainfrom
cover-sync-diffrunner-launch
Aug 21, 2026
Merged

Exercise the sync launch from the sync named tests#781
SimonCropp merged 2 commits into
mainfrom
cover-sync-diffrunner-launch

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

LaunchAndKill and LaunchAndKillAsync were byte identical, and both awaited LaunchAsync. So were LaunchAndKillDisabled and its Async twin, and the two MaxInstancesToLaunch cases. The synchronous DiffRunner.Launch had no coverage at all while the suite carried four tests whose names said it did.

Point the non-Async half at DiffRunner.Launch. Worth having on its own terms: the two overloads do not resolve the tool the same way — Launch asks TryFindByExtension and LaunchAsync asks TryFindForInputFilePath — so a pair of tests that only ever calls one of them cannot see the two drift apart.

LaunchAndKill and LaunchAndKillAsync were byte identical, and both awaited
LaunchAsync. So were LaunchAndKillDisabled and its Async twin, and the two
MaxInstancesToLaunch cases. The synchronous DiffRunner.Launch had no coverage at
all while the suite carried four tests whose names said it did.

Point the non-Async half at DiffRunner.Launch. Worth having on its own terms:
the two overloads do not resolve the tool the same way — Launch asks
TryFindByExtension and LaunchAsync asks TryFindForInputFilePath — so a pair of
tests that only ever calls one of them cannot see the two drift apart.
@SimonCropp
SimonCropp merged commit 6239a38 into main Aug 21, 2026
8 checks passed
@SimonCropp
SimonCropp deleted the cover-sync-diffrunner-launch branch August 21, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant