-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
[Testing Framework] Add test command to Terraform CLI #33327
Conversation
fae377b
to
95f8acb
Compare
cb26156
to
1c5fff7
Compare
95f8acb
to
a9c912e
Compare
a9c912e
to
77db89c
Compare
77db89c
to
156a6c3
Compare
…aform into liamcervante/tests/context
…raform into liamcervante/tests/command
…raform into liamcervante/tests/command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good to get the command into a usable state for additional testing. If test
is not going to make use of the local backend for running plans and applies, we are going to need to make sure some of that framework gets replicated within the test command. Plugin validation and process cancelation are the first to things that come to mind.
Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
This PR adds the
test
command back into Terraform, and connects all the previous PRs into a functional testing framework.Target Release
1.6.0
Terraform Testing Framework
This PR is part of a chain of PRs implementing the new Terraform test command.
The above PRs implement the core functionality of the new test command. More PRs will follow implementing specific features, but the test command will work end-to-end once the above PRs are merged.
These changes are implemented in a chain, with each change building on the previous one to ensure ease of review. To see the combined changes as one, navigate to the last PR in the chain and change it to merge directly into main.