Skip to content
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

Merged
merged 4 commits into from
Dec 29, 2019

Conversation

ZenAnnard
Copy link
Contributor

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.

@ZenAnnard ZenAnnard force-pushed the spring_improvements branch 3 times, most recently from d9173c8 to 8af65fa Compare December 25, 2019 09:51
Since we may need a different (i.e. non-standard) way of executing the tests, this patch makes it configurable.
Copy link
Collaborator

@gcentauri gcentauri left a 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 :)

@gcentauri gcentauri self-assigned this Dec 27, 2019
Improved indentation (my fault, aplogies).
Improved test to explicitly test new customisation variable.
@ZenAnnard
Copy link
Contributor Author

Thank you for taking a look at my PR!

Copy link
Collaborator

@gcentauri gcentauri left a 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 :)

@gcentauri gcentauri changed the title Improve spring config Add: custom variable for minitest spring command Dec 29, 2019
@gcentauri gcentauri merged commit 6d9f623 into arthurnn:master Dec 29, 2019
@ZenAnnard ZenAnnard deleted the spring_improvements branch December 30, 2019 10:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants