hashicorp / hashicorp/terraform-plugin-testing

Design doc: access to configured clients

Open
#11 2 comments 2 reactions 0 assignees View on GitHub
design design-doc
Dominant language
Go
Stars
68
Forks
22
Avg merge
2d 12h
Merged PRs (30d)
1

Description

During acceptance testing, provider test code needs access to configured clients in order to make API requests.

The API client may be used for test setup/teardown, checking that API values were correctly updated, and other operations not covered by the resource CRUD functions.

This functionality could be made available to provider developers in a number of ways, including:
- Leave it up to them
- Add helpers for getting it off the configured provider
- Guide people towards instantiating a new client

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.