Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/hashicorp/terraform-plugin-testing from 1.2.0 to 1.5.1 #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 7, 2023

Bumps github.com/hashicorp/terraform-plugin-testing from 1.2.0 to 1.5.1.

Release notes

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

v1.5.1

BUG FIXES:

  • helper/resource: Fix regression by allowing providers to be defined both at the TestCase level, and within TestStep.Config (#177)

v1.5.0

FEATURES:

  • config: Introduced new config package which contains interfaces and helper functions for working with native Terraform configuration and variables (#153)
  • helper/resource: Added TestStep.ConfigDirectory to allow specifying a directory containing Terraform configuration for use during acceptance tests (#153)
  • helper/resource: Added TestStep.ConfigFile to allow specifying a file containing Terraform configuration for use during acceptance tests (#153)
  • helper/resource: Added TestStep.ConfigVariables to allow specifying Terraform variables for use with Terraform configuration during acceptance tests (#153)
  • helper/resource: Removed data resource and managed resource id attribute requirement (#84)

ENHANCEMENTS:

  • helper/resource: Added TestStep type ImportStateVerifyIdentifierAttribute field, which can override the default id attribute used for matching prior resource state with imported resource state (#84)

v1.4.0

FEATURES:

  • tfjsonpath: Introduced new tfjsonpath package which contains methods that allow traversal of Terraform JSON data (#154)
  • plancheck: Added ExpectUnknownValue built-in plan check, which asserts that a given attribute has an unknown value (#154)
  • plancheck: Added ExpectSensitiveValue built-in plan check, which asserts that a given attribute has a sensitive value (#154)

v1.3.0

FEATURES:

  • tfversion: Introduced new tfversion package with interface and built-in Terraform version check functionality (#128)
  • tfversion: Added SkipAbove built-in version check, which skips the test if the Terraform CLI version is above the given maximum. (#128)
  • tfversion: Added SkipBelow built-in version check, which skips the test if the Terraform CLI version is below the given minimum. (#128)
  • tfversion: Added SkipBetween built-in version check, which skips the test if the Terraform CLI version is between the given minimum (inclusive) and maximum (exclusive). (#128)
  • tfversion: Added SkipIf built-in version check, which skips the test if the Terraform CLI version matches the given version. (#128)
  • tfversion: Added RequireAbove built-in version check, which fails the test if the Terraform CLI version is below the given maximum. (#128)
  • tfversion: Added RequireBelow built-in version check, which fails the test if the Terraform CLI version is above the given minimum. (#128)
  • tfversion: Added RequireBetween built-in version check, fails the test if the Terraform CLI version is outside the given minimum (exclusive) and maximum (inclusive). (#128)
  • tfversion: Added RequireNot built-in version check, which fails the test if the Terraform CLI version matches the given version. (#128)
  • tfversion: Added Any built-in version check, which fails the test if none of the given sub-checks return a nil error and empty skip message. (#128)
  • tfversion: Added All built-in version check, which fails or skips the test if any of the given sub-checks return a non-nil error or non-empty skip message. (#128)

BUG FIXES:

  • helper/resource: Fix path used when persisting working directory (#113)
Changelog

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

1.5.1 (August 31, 2023)

BUG FIXES:

  • helper/resource: Fix regression by allowing providers to be defined both at the TestCase level, and within TestStep.Config (#177)

1.5.0 (August 31, 2023)

FEATURES:

  • config: Introduced new config package which contains interfaces and helper functions for working with native Terraform configuration and variables (#153)
  • helper/resource: Added TestStep.ConfigDirectory to allow specifying a directory containing Terraform configuration for use during acceptance tests (#153)
  • helper/resource: Added TestStep.ConfigFile to allow specifying a file containing Terraform configuration for use during acceptance tests (#153)
  • helper/resource: Added TestStep.ConfigVariables to allow specifying Terraform variables for use with Terraform configuration during acceptance tests (#153)
  • helper/resource: Removed data resource and managed resource id attribute requirement (#84)

ENHANCEMENTS:

  • helper/resource: Added TestStep type ImportStateVerifyIdentifierAttribute field, which can override the default id attribute used for matching prior resource state with imported resource state (#84)

1.4.0 (July 24, 2023)

FEATURES:

  • tfjsonpath: Introduced new tfjsonpath package which contains methods that allow traversal of Terraform JSON data (#154)
  • plancheck: Added ExpectUnknownValue built-in plan check, which asserts that a given attribute has an unknown value (#154)
  • plancheck: Added ExpectSensitiveValue built-in plan check, which asserts that a given attribute has a sensitive value (#154)

1.3.0 (June 13, 2023)

FEATURES:

  • tfversion: Introduced new tfversion package with interface and built-in Terraform version check functionality (#128)
  • tfversion: Added SkipAbove built-in version check, which skips the test if the Terraform CLI version is above the given maximum. (#128)
  • tfversion: Added SkipBelow built-in version check, which skips the test if the Terraform CLI version is below the given minimum. (#128)
  • tfversion: Added SkipBetween built-in version check, which skips the test if the Terraform CLI version is between the given minimum (inclusive) and maximum (exclusive). (#128)
  • tfversion: Added SkipIf built-in version check, which skips the test if the Terraform CLI version matches the given version. (#128)
  • tfversion: Added RequireAbove built-in version check, which fails the test if the Terraform CLI version is below the given maximum. (#128)
  • tfversion: Added RequireBelow built-in version check, which fails the test if the Terraform CLI version is above the given minimum. (#128)
  • tfversion: Added RequireBetween built-in version check, fails the test if the Terraform CLI version is outside the given minimum (exclusive) and maximum (inclusive). (#128)
  • tfversion: Added RequireNot built-in version check, which fails the test if the Terraform CLI version matches the given version. (#128)
  • tfversion: Added Any built-in version check, which fails the test if none of the given sub-checks return a nil error and empty skip message. (#128)
  • tfversion: Added All built-in version check, which fails or skips the test if any of the given sub-checks return a non-nil error or non-empty skip message. (#128)

BUG FIXES:

  • helper/resource: Fix path used when persisting working directory (#113)
Commits
  • dee4bfb Update changelog
  • 23929ab Fix regression by allowing providers defined at TestCase level with provide...
  • 5b9c7a4 Update changelog
  • e46c64f Add Option to use Terraform Configuration in TestStep (#153)
  • 5eb089d terraform: Add deprecation Go documentation comments (#171)
  • c132058 helper/resource: Refactor various unit testing to use inline providers (#170)
  • d6717ae website: Update GitHub Actions example for setup-go@v4 and using go.mod versi...
  • 18deced helper/resource: Remove data source and resource id attribute requirement (...
  • ba04167 internal/testing: Initial testsdk and testprovider packages (#166)
  • 12db397 build(deps): Bump github.com/hashicorp/terraform-plugin-sdk/v2 (#167)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.2.0 to 1.5.1.
- [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.2.0...v1.5.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 7, 2023
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