Skip to content

Bump github.com/hashicorp/terraform-plugin-testing from 1.14.0 to 1.16.0#50

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.16.0
Open

Bump github.com/hashicorp/terraform-plugin-testing from 1.14.0 to 1.16.0#50
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.16.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026

Bumps github.com/hashicorp/terraform-plugin-testing from 1.14.0 to 1.16.0.

Release notes

Sourced from github.com/hashicorp/terraform-plugin-testing's releases.

v1.16.0

FEATURES:

  • querycheck: Add new ExpectTotalLengthForMatching querycheck for validating the number of found resources for multiple list blocks (#607)
  • helper/resource: Added new GenerateConfig testing mode to TestStep which can be used to test the generated resource configuration during ImportState testing mode. (#638)

ENHANCEMENTS:

  • helper/resource: Added DefaultWorkspaceOnly to enable testing state store implementations that don't support multiple workspaces. This is achieved by only running Terraform commands with the default workspace. (#633)

BUG FIXES:

  • querycheck: Fix behaviour of ExpectLength querycheck to match on the provided resource address before comparing the count (#604)
  • querycheck: Fix behaviour of ExpectLengthAtLeast querycheck to match on the provided resource address before comparing the count (#607)
  • dep: updated hc-install dependency to 0.9.4 to prevent openpgp key expiration errors. (#647)

v1.15.0

NOTES:

  • This Go module has been updated to Go 1.25 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#629)

FEATURES:

  • helper/resource: Added new StateStore testing mode to TestStep, which can be used to smoke test Terraform state storage. (#591)

BUG FIXES:

  • helper/resource: Test steps in Config mode using Destroy: true and Check functions will now create an additional destroy plan prior to running terraform apply to avoid a potential "Saved Plan is Stale" error from Terraform. (#602)
  • helper/resource: Test steps in Config mode using the TF_ACC_REFRESH_AFTER_APPLY compatibility flag will not refresh if ExpectNonEmptyPlan is true. (#602)

v1.14.1

BUG FIXES:

  • Backport: Remove the redundant post-apply refresh triggered by resource/refreshAfterApply so acceptance tests avoid an extra refresh cycle. (#641)
Changelog

Sourced from github.com/hashicorp/terraform-plugin-testing's changelog.

1.16.0 (April 23, 2026)

FEATURES:

  • querycheck: Add new ExpectTotalLengthForMatching querycheck for validating the number of found resources for multiple list blocks (#607)
  • helper/resource: Added new GenerateConfig testing mode to TestStep which can be used to test the generated resource configuration during ImportState testing mode. (#638)

ENHANCEMENTS:

  • helper/resource: Added DefaultWorkspaceOnly to enable testing state store implementations that don't support multiple workspaces. This is achieved by only running Terraform commands with the default workspace. (#633)

BUG FIXES:

  • querycheck: Fix behaviour of ExpectLength querycheck to match on the provided resource address before comparing the count (#604)
  • querycheck: Fix behaviour of ExpectLengthAtLeast querycheck to match on the provided resource address before comparing the count (#607)
  • dep: updated hc-install dependency to 0.9.4 to prevent openpgp key expiration errors. (#647)

1.15.0 (March 10, 2026)

NOTES:

  • This Go module has been updated to Go 1.25 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#629)

FEATURES:

  • helper/resource: Added new StateStore testing mode to TestStep, which can be used to smoke test Terraform state storage. (#591)

BUG FIXES:

  • helper/resource: Test steps in Config mode using Destroy: true and Check functions will now create an additional destroy plan prior to running terraform apply to avoid a potential "Saved Plan is Stale" error from Terraform. (#602)
  • helper/resource: Test steps in Config mode using the TF_ACC_REFRESH_AFTER_APPLY compatibility flag will not refresh if ExpectNonEmptyPlan is true. (#602)
Commits
  • 54ba38b Update changelog
  • 086f9cb Add changelog for hc-install dependency update (#649)
  • 878c611 build(deps): Bump github.com/hashicorp/terraform-exec (#648)
  • c492fcf build(deps): Bump github.com/hashicorp/hc-install from 0.9.3 to 0.9.4 (#646)
  • c635147 build(deps): Bump github.com/zclconf/go-cty from 1.18.0 to 1.18.1 (#644)
  • d854a0f build(deps): Bump the github-actions group with 2 updates (#643)
  • 2684d0d build(deps): Bump golang.org/x/crypto from 0.49.0 to 0.50.0 (#642)
  • 2699d69 Add GenerateConfig testing mode to ImportState testing (#638)
  • 57e3cc1 build(deps): Bump actions/setup-go in the github-actions group (#639)
  • 8ac7772 build(deps): Bump github.com/hashicorp/copywrite in /tools (#637)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 23, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 23, 2026 15:54
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 23, 2026
Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.14.0 to 1.16.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-testing@v1.14.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-version: 1.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.16.0 branch from 7eeae6d to 6b50eac Compare April 25, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants