Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move test helpers from internal to acc and testutil #2008

Merged
merged 5 commits into from
Dec 12, 2024

Conversation

pietern
Copy link
Contributor

@pietern pietern commented Dec 12, 2024

Changes

This change moves fixture helpers to internal/acc/fixtures.go. These helpers create an ephemeral path or resource for the duration of a test. Call sites are updated to use acc.WorkspaceTest() to construct a workspace-focused test wrapper as needed.

This change also moves the GetNodeTypeID() function to testutil.

Tests

n/a

Base automatically changed from move-cli-runner to main December 12, 2024 16:54
@pietern pietern force-pushed the move-internal-helpers branch from ba32f47 to 72561e2 Compare December 12, 2024 19:36
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 2008
  • Commit SHA: 72561e257572513cd7fe5a1eecd25a69d933b21a

Checks will be approved automatically on success.

@eng-dev-ecosystem-bot
Copy link
Collaborator

Test Details: go/deco-tests/12303545852

@pietern pietern added this pull request to the merge queue Dec 12, 2024
Merged via the queue into main with commit 61b0c59 Dec 12, 2024
11 checks passed
@pietern pietern deleted the move-internal-helpers branch December 12, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants