24 references to _workspace
Infrastructure.Tests (24)
WorkflowScripts\ExtensionChangelogFinalizedWorkflowTests.cs (24)
23public void Dispose() => _workspace.Dispose(); 304var changelogPath = Path.Combine(_workspace.Path, "extension", "CHANGELOG.md"); 311=> await RunGateScriptAsync(_workspace.Path, environment); 349await InitializeGitRepositoryAsync(_workspace.Path); 351await WritePackageJsonAsync(_workspace.Path, "1.98.0"); 352await WriteChangelogAsync(_workspace.Path, """ 358await WriteWorkspaceFileAsync(_workspace.Path, Path.Combine("extension", "src", "baseline.txt"), "baseline"); 359await CommitAllAsync(_workspace.Path, "Create baseline changelog"); 363_workspace.Path, 375await CommitAllAsync(_workspace.Path, "Finalize prior release changelog"); 377await WriteWorkspaceFileAsync(_workspace.Path, Path.Combine("extension", "src", "feature.txt"), "feature-one"); 378await CommitAllAsync(_workspace.Path, "Add extension feature"); 381await RunGitAsync(_workspace.Path, "checkout", "-b", "extension-release/v1.99.0"); 383await WritePackageJsonAsync(_workspace.Path, "1.99.0"); 384await WriteChangelogAsync(_workspace.Path, $$""" 398await CommitAllAsync(_workspace.Path, "Prepare release branch changelog"); 400await RunGitAsync(_workspace.Path, "checkout", "main"); 404await WriteWorkspaceFileAsync(_workspace.Path, Path.Combine("extension", "src", "late-main.txt"), "late extension change"); 408await WriteWorkspaceFileAsync(_workspace.Path, Path.Combine("docs", "late-main.md"), "non-extension main change"); 411await CommitAllAsync(_workspace.Path, "Advance main"); 412var baseSha = await GetHeadShaAsync(_workspace.Path); 414await RunGitAsync(_workspace.Path, "checkout", "extension-release/v1.99.0"); 417_workspace.Path, 467=> await GetHeadShaAsync(_workspace.Path);