-
Notifications
You must be signed in to change notification settings - Fork 621
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
Refactor test helpers #1682
Refactor test helpers #1682
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>
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.
- Thank you Stefan 🙏
Thanks, I had a similar PR in mind with some follow up improvements. |
One thing I forgot to do is to delete that init, tests should use |
Oh one more thing, the test helpers are using |
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>
.
|
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. |
I realize now, TestMain can do setup and teardown to handle restoring any environment variables. |
Changes:
flux --version