-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Option to Retain Acceptance Testing Files #18
Labels
enhancement
New feature or request
Milestone
Comments
bendbennett
added a commit
that referenced
this issue
Jan 3, 2023
… acceptance test has completed (#18)
bendbennett
added a commit
that referenced
this issue
Jan 17, 2023
…stWorkingDir env var is set (#18)
bendbennett
added a commit
that referenced
this issue
Jan 18, 2023
bendbennett
added a commit
that referenced
this issue
Jan 20, 2023
bendbennett
added a commit
that referenced
this issue
Jan 24, 2023
…en TF_ACC_PERSIST_WORKING_DIR is set. Wrapping errors in CopyFile() and CopyDir() funcs. Adding changelog entry for addition of WorkingDir field to TestCase struct (#18)
bendbennett
added a commit
that referenced
this issue
Jan 25, 2023
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
This issue is a duplicate of Option to Retain Acceptance Testing Files.
SDK version
N/A
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.
Currently the acceptance testing framework always deletes its temporary directory full of all the intermediate Terraform CLI goodies that happened during a test. The ability to temporarily save these files may aid in the troubleshooting of the acceptance testing framework itself, viewing of finalized test configurations, and potentially debugging of provider issues (such as inspecting intermediate plans or states).
Attempted Solutions
None at the moment.
Proposal
Add an environment variable to skip the deletion of the temporary directory created by the acceptance testing framework. The debug log or
t.Log()
equivalent could output the root path to view those files.References
The text was updated successfully, but these errors were encountered: