-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add: custom variable for minitest spring command #41
Conversation
d9173c8
to
8af65fa
Compare
Since we may need a different (i.e. non-standard) way of executing the tests, this patch makes it configurable.
54f265a
to
638adc0
Compare
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.
Thanks for the PR! ❤️
Just a minor indentation issue, and it might be useful to add another assertion to test-minitest-test-command
just to ensure we get the expected Spring command when the variable is customized. I know its technically already being tested, but it can't hurt :)
Improved indentation (my fault, aplogies). Improved test to explicitly test new customisation variable.
Thank you for taking a look at my PR! |
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.
Great! Hopefully this will make your Spring workflow easier to deal with :)
This patch makes it configurable by allowing the spring command to be configured externally through the variable
minitest-spring-command
.This is useful if you have a complicated spring workflow like we have at Zendesk.