hashicorp / terraform-provider-random

Utility provider that supports the use of randomness within Terraform configurations.
https://registry.terraform.io/providers/hashicorp/random/latest
Mozilla Public License 2.0
203 stars 117 forks source link

testing: Update acceptance tests to use new `statecheck` package and value comparers #599

Closed austinvalle closed 3 months ago

austinvalle commented 3 months ago

Ref: https://github.com/hashicorp/terraform-plugin-testing/issues/295, https://github.com/hashicorp/terraform-plugin-testing/issues/266

With this refactor, all of the assertions should be equivalent except for a few where I made the test assertions more restrictive/exact. Let me know if I missed anything!