Skip to content

test(e2e): local creds helper for API tests#837

Draft
natalie-o-perret wants to merge 3 commits into
masterfrom
feat/e2e-local-creds
Draft

test(e2e): local creds helper for API tests#837
natalie-o-perret wants to merge 3 commits into
masterfrom
feat/e2e-local-creds

Conversation

@natalie-o-perret
Copy link
Copy Markdown
Contributor

@natalie-o-perret natalie-o-perret commented May 22, 2026

Adds tests/e2e/local_test.go (build tag: local, never compiled on CI).

Reads credentials from ~/.config/exoscale/exoscale.toml via -account flag and injects them with t.Setenv, never printed.

E.g.,

go test -tags='api local' -timeout 30m -run TestAPIComputeLocal . -account=my-user-owner

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.

1 participant