ably / terraform-provider-ably

Ably's Terraform Provider, enabling you to manage your Ably account programmatically.
https://registry.terraform.io/providers/ably/ably
Apache License 2.0
11 stars 2 forks source link

Set up provider acceptance testing GH Action #25

Open kavalerov opened 2 years ago

kavalerov commented 2 years ago

As per https://www.terraform.io/plugin/sdkv2/testing/acceptance-tests, Terraform already includes a framework for constructing acceptance tests. These tests perform CRUD operations on live resources in steps using the custom provider. It should be noted that as live resources are provisioned, it is possible that dangling resources could be left behind after tests and we should account for this.

It is suggested that we make use of accounts on https://ably-dev.com/ and "https://staging-control.ably-dev.net/v1" Control API endpoint whilst setting up testing.

It should be noted that we will need to ensure that Enterprise features are enabled so we can test all resources.

sync-by-unito[bot] commented 1 year ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3027