-
Notifications
You must be signed in to change notification settings - Fork 233
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
TestStep SkipFunc should not error but print to stdout #824
Comments
Hi @drewmullen! 👋 The The terraform-plugin-sdk/helper/resource/testing_new.go Lines 111 to 114 in 9cecd71
So I think if you or anyone is interested in remediating this issue:
Please reach out with any questions. 👍 |
…n for TestStep.SkipFunc Reference: #824 Reference: https://pkg.go.dev/testing#T.Logf The additional logging will be more visible, as it will appear in stdout instead of disabled by default. The documentation updates should make the purpose and correct usage of this field more clear.
…n for TestStep.SkipFunc (#889) Reference: #824 Reference: https://pkg.go.dev/testing#T.Logf The additional logging will be more visible, as it will appear in stdout instead of disabled by default. The documentation updates should make the purpose and correct usage of this field more clear.
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. |
It seems that SkipFunc would be more helpful in test steps if it printed a message to stdout instead of erroring the test. that is how
t.Skip()
workswork arounds are easy enough for now:
The text was updated successfully, but these errors were encountered: