Merged
Conversation
- move test helpers to main - add support for inline golden values - add test for `flux --version` Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
hiddeco
approved these changes
Aug 4, 2021
Contributor
|
Thanks, I had a similar PR in mind with some follow up improvements. |
Member
Author
|
One thing I forgot to do is to delete that init, tests should use |
Member
Author
|
Oh one more thing, the test helpers are using |
Contributor
|
Thanks, I was browsing issues and saw that and realized, I'll send a fix.
…On Wed, Aug 4, 2021, 6:48 AM Stefan Prodan ***@***.***> wrote:
Oh one more thing, the test helpers are using ioutil this needs to go
away, see #1658 <#1658>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1682 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABN7JMWSTZVDACFYGV3HRZ3T3FAK3ANCNFSM5BQPON3A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Contributor
|
Moving to TestMain sounds good, will do. I'm assuming all tests that have times/dates in the golden files will need that setup -- that is a I also realize there could be side effects for changing the timezone across tests. |
Contributor
|
I realize now, TestMain can do setup and teardown to handle restoring any environment variables. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
flux --version