hashicorp/terraform-plugin-testing (github.com/hashicorp/terraform-plugin-testing)
### [`v1.6.0`](https://togithub.com/hashicorp/terraform-plugin-testing/releases/tag/v1.6.0)
[Compare Source](https://togithub.com/hashicorp/terraform-plugin-testing/compare/v1.5.1...v1.6.0)
NOTES:
- all: This Go module has been updated to Go 1.20 per the [Go support policy](https://go.dev/doc/devel/release#policy). It is recommended to review the [Go 1.20 release notes](https://go.dev/doc/go1.20) before upgrading. Any consumers building on earlier Go versions may experience errors. ([#180](https://togithub.com/hashicorp/terraform-plugin-testing/issues/180))
- helper/resource: Configuration based `TestStep` now include post-apply plan checks for output changes in addition to resource changes. If this causes unexpected new test failures, most `output` configuration blocks can be likely be removed. Test steps involving resources and data sources should never need to use `output` configuration blocks as plan and state checks support working on resource and data source attributes values directly. ([#234](https://togithub.com/hashicorp/terraform-plugin-testing/issues/234))
FEATURES:
- plancheck: Added `ExpectUnknownOutputValue` built-in plan check, which asserts that a given output value at a specified address is unknown ([#220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220))
- plancheck: Added `ExpectUnknownOutputValueAtPath` built-in plan check, which asserts that a given output value at a specified address, and path is unknown ([#220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220))
- plancheck: Added `ExpectNullOutputValue` built-in plan check, which asserts that a given output value at a specified address is null ([#220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220))
- plancheck: Added `ExpectNullOutputValueAtPath` built-in plan check, which asserts that a given output value at a specified address, and path is null ([#220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220))
ENHANCEMENTS:
- helper/resource: Removed separate refresh commands, which increases testing performance ([#223](https://togithub.com/hashicorp/terraform-plugin-testing/issues/223))
- helper/resource: Automatically add `required_providers` configuration to `TestStep.Config` Terraform language configuration when using Terraform >= 1.0.\* ([#216](https://togithub.com/hashicorp/terraform-plugin-testing/issues/216))
BUG FIXES:
- plancheck: Ensured `ExpectEmptyPlan` and `ExpectNonEmptyPlan` account for output changes ([#222](https://togithub.com/hashicorp/terraform-plugin-testing/issues/222))
- helper/resource: Ensured `TestStep.ExpectNonEmptyPlan` accounts for output changes with Terraform 0.14 and later ([#234](https://togithub.com/hashicorp/terraform-plugin-testing/issues/234))
Configuration
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v1.5.1
->v1.6.0
Release Notes
hashicorp/terraform-plugin-testing (github.com/hashicorp/terraform-plugin-testing)
### [`v1.6.0`](https://togithub.com/hashicorp/terraform-plugin-testing/releases/tag/v1.6.0) [Compare Source](https://togithub.com/hashicorp/terraform-plugin-testing/compare/v1.5.1...v1.6.0) NOTES: - all: This Go module has been updated to Go 1.20 per the [Go support policy](https://go.dev/doc/devel/release#policy). It is recommended to review the [Go 1.20 release notes](https://go.dev/doc/go1.20) before upgrading. Any consumers building on earlier Go versions may experience errors. ([#180](https://togithub.com/hashicorp/terraform-plugin-testing/issues/180)) - helper/resource: Configuration based `TestStep` now include post-apply plan checks for output changes in addition to resource changes. If this causes unexpected new test failures, most `output` configuration blocks can be likely be removed. Test steps involving resources and data sources should never need to use `output` configuration blocks as plan and state checks support working on resource and data source attributes values directly. ([#234](https://togithub.com/hashicorp/terraform-plugin-testing/issues/234)) FEATURES: - plancheck: Added `ExpectUnknownOutputValue` built-in plan check, which asserts that a given output value at a specified address is unknown ([#220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220)) - plancheck: Added `ExpectUnknownOutputValueAtPath` built-in plan check, which asserts that a given output value at a specified address, and path is unknown ([#220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220)) - plancheck: Added `ExpectNullOutputValue` built-in plan check, which asserts that a given output value at a specified address is null ([#220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220)) - plancheck: Added `ExpectNullOutputValueAtPath` built-in plan check, which asserts that a given output value at a specified address, and path is null ([#220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220)) ENHANCEMENTS: - helper/resource: Removed separate refresh commands, which increases testing performance ([#223](https://togithub.com/hashicorp/terraform-plugin-testing/issues/223)) - helper/resource: Automatically add `required_providers` configuration to `TestStep.Config` Terraform language configuration when using Terraform >= 1.0.\* ([#216](https://togithub.com/hashicorp/terraform-plugin-testing/issues/216)) BUG FIXES: - plancheck: Ensured `ExpectEmptyPlan` and `ExpectNonEmptyPlan` account for output changes ([#222](https://togithub.com/hashicorp/terraform-plugin-testing/issues/222)) - helper/resource: Ensured `TestStep.ExpectNonEmptyPlan` accounts for output changes with Terraform 0.14 and later ([#234](https://togithub.com/hashicorp/terraform-plugin-testing/issues/234))Configuration
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.