hashicorp / hashicorp/terraform-plugin-testing
Design doc: access to configured clients
Open
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
Assessment
This issue has not been assessed yet.