Releases: cloudposse/test-helpers
Releases · cloudposse/test-helpers
v0.25.0
v0.24.0
Examples helper @Benbentwo (#68)
what
- Examples Helper library for testing cloudposse examples
why
- trying to make this testing framework more accessible while also focusing on speed of development of tests.
v0.23.0
Added eks configs @goruha (#65)
what
- Move the K8S config to a separate method
- Added
CleanDNSZoneIDroute53 zone - Define helm metadata struct
why
- Allow the creation of dynamic clients for extensions API
- Drop orphane DNS records to teardown DNS zones
- Use metadata struct in terraform testing components that install helm charts
v0.22.0
Port EKS from cloudposse/terratest @goruha (#62)
what
- add eks support and k8s node assertions
- return atmos options on even if
--skip-deploy-componentflag is set - remove
aws-nukepackage
Why
- Test EKS-related components
- Allow to read outputs when component deployment skipped
- The AWS nuke package is not used anywhere but has dependencies issues that affect tests run for all packages
Reference
v0.21.0
add configurable destination path @mcalhoun (#55)
what
Allow the component destination directory to be specified
why
For some more advanced components, there are nested folders
usage
This feature can be utilized by specifying --component-dest-dir or by setting suite.Config.ComponentDestDir:
func TestRunExampleSuite(t *testing.T) {
suite := new(ExampleTestSuite)
suite.Config.ComponentDestDir = "components/terraform/foo/bar"
suite.AddDependency(t, "component1", "test-use2-sandbox", nil)
suite.AddDependency(t, "component3", "test-use2-sandbox", nil)
helper.Run(t, suite)
}
v0.20.0
v0.19.0
v0.18.0
v0.17.0
v0.16.0
Added GetAtmosOptions method @goruha (#52)
what
- Added GetAtmosOptions method
- Added
ATMOS_CLI_CONFIG_PATHenv vars - Fix
VerifyEnabledFlag - Add
DriftTest - Moved helpers functions to
pkg/aws
why
- Allow to get options for dependencies
- Fix remote state terraform read
- OpenTofu and Terraform handle detailed exit codes differently
- Test drifts
- Consolidate helper functions