Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

terraform-plugin-testing

Free#25 of 28 in Infrastructure Testing Tools

terraform-plugin-testing: Deep acceptance testing for Terraform providers, focused on real lifecycle operations. Ranked #25 of 28 in Infrastructure Testing Tools by our editors (6.8/10); pricing: Open source; best for terraform provider acceptance testing.

6.8/10Editor score
terraform-plugin-testing6.8 Visit HashiCorp

At a glance

  • Editor score
    6.8 / 10
  • Pricing
    Open source
  • Best for
    Terraform provider acceptance testing
  • Paid from
    Free
  • IaC support
    Terraform
  • Facts checked
    21 Sep 2026
terraform-plugin-testing screenshot
  • Where it wins

    • Tests real plan, apply, refresh, import, query, and destroy operations
    • Validates Terraform plans, state, errors, and actual cloud resources
    • Supports configuration lifecycle, import, refresh, and query-mode test steps
  • Where it doesn't

    • Focused on Terraform rather than broader infrastructure-as-code coverage
    • Requires Go-based provider development and testing workflows
    • Runs locally or in CI rather than as a hosted testing application

Our verdict on terraform-plugin-testing

terraform-plugin-testing is an open-source Go module for Terraform provider developers. It supports automated acceptance tests that execute real Terraform configurations and lifecycle operations, including plan, apply, refresh, import, query, and destroy. Teams maintaining providers can use it from local workstations or continuous-integration environments with standard Go testing commands. Its intended audience is narrow: engineers who need to verify provider behavior against Terraform and the cloud resources managed through provider APIs.

The module’s depth is its main strength. Tests can assert Terraform plans and state, inspect provider errors, and validate the actual cloud resources created during a test. Configuration lifecycle steps support realistic provider workflows, while import and refresh modes cover important state-management paths. Query-mode testing addresses list resources, and Terraform CLI discovery and installation behavior helps test the surrounding command-line execution flow. This makes the tool a strong fit when acceptance coverage must reflect real Terraform lifecycle behavior rather than only isolated Go logic.

Its focused design also defines its limits. The published positioning centers on Terraform providers, so teams looking for a broader infrastructure testing system or multi-platform orchestration layer should consider a different type of product. It is a Go module, not a hosted application, and its local execution model places the testing workflow inside developer machines or CI environments. Choose terraform-plugin-testing when the priority is technically deep provider acceptance testing with real lifecycle operations and cloud-resource validation; choose an alternative when you need a wider ecosystem, a hosted interface, or support beyond Terraform provider development.

Your product? Our editors can test terraform-plugin-testing in depth and publish a review, labelled as paid · from $149/mo →

terraform-plugin-testing pricing

Plans Open sourceFree Free to use — no paid tier required for the core job.
See plans on github.com

terraform-plugin-testing fact sheet

Free planNot verified
Paid fromFree
IaC supportTerraform
Config complianceNot verified
Provisioning testsYes
Deployed checksYes
Policy as codeNot verified
Execution modelLocal
Cloud supportNot verified
SupportDocs
Built forSmall business, Mid-market, Enterprise (editorial estimate)
PricingOpen source
Websitegithub.com
Facts checked21 Sep 2026

Alternatives to terraform-plugin-testing

See all terraform-plugin-testing alternatives →

Used terraform-plugin-testing? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used terraform-plugin-testing for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — terraform-plugin-testing 6.8/10

terraform-plugin-testing is listed in our Infrastructure Testing Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/terraform-plugin-testing/"><img src="https://www.itechguides.com/best/badge/terraform-plugin-testing.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update