Output of Finalized Test Configurations During Acceptance Testing #700
Labels
enhancement
New feature or request
subsystem/tests
Issues and feature requests related to the testing framework.
Milestone
SDK version
Use-cases
This issue is created by request as part of a series of related acceptance test feature requests that will be cross-referenced to each other for discoverability.
Acceptance test configurations are currently implemented as Go
string
type. These configurations can become quite large, may be composed of multiple "layer" configurations built up in the Go code, andfmt.Sprintf()
parameterized to simplify value substitutions across test steps. To aid in the debugging of these test configurations, it could be helpful for provider developers to see the "final" Terraform configuration and potentially work with it outside the context of the acceptance testing framework.Attempted Solutions
None at the moment, since the temporary directory used by the binary acceptance testing framework (and therefore any potential state files) cannot be retained. Separate feature request for that incoming.
Proposal
Output the
Config
to the debug logging of the acceptance testing framework during eachTestStep
.While adding the ability to retain the temporary directory would enable provider developers to get at this information eventually, it would require a lot more steps and knowing which saved plan occurred when.
References
The text was updated successfully, but these errors were encountered: