We are working on developing a provider for one of our internal products based on the new terraform plugin framework and plan to publish the provider to terraform registry. We wanted to know if there is any guideline on which acceptance test framework to use.
I understand that there is no acceptance test framework available in the new terraform plugin framework. Hence, can we use any third party testing frameworks like terratest or we have to use the acceptance testing framework available in SDK V2?
Could you please help us making this choice.
You’ll notice that its recommending the acceptance testing framework that is currently in the terraform-plugin-sdk repository. That testing framework is compatible with providers developed with terraform-plugin-framework, terraform-plugin-sdk, and terraform-plugin-go. The code just happens to still live in the terraform-plugin-sdk repository at the moment, but it will likely be migrated to its own repository in the coming weeks just to prevent any confusion.