-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Replace Rake's testtask with Minitest's #257
Conversation
This is available since Minitest v5.16.0 and the following commit: minitest/minitest@73692f9
I could add a version lock to the gemfile to denote that we have an expected version of minitest. But since there are no other version constraints I wanted to ask first. |
We are also not running bundler on CI, should that be done first as a separate PR? |
What is supposed to be the benefit? |
Minitest's test task has an easier time passing in options to minitest itself, compared to rake's task. It also generates more tasks to get the slowests tests etc, if that is of interest in a future refactoring. That being said - they have the same output which is running tests. I don't mind if we decide to ditch this in favor of rake's test task. |
As for the "we are not running bundler on CI" - that means we won't get access to tools such as #253 on CI. But that's a separate issue that I can push a PR for. |
It looks like bundler is run on CI, as per: But then the cache on CI needs to be bumped due to this upgrade change and we do not have that new version of minitest on the CI runs. |
It's not, minitest 5.16 (where the new test task is introduced) does not support ruby 2.5 as per the CI configuration.
Therefore with the current Ruby 2.5 and above CI policy - this is not a doable addition. |
Thanks anyway for looking into this! |
This is available since Minitest v5.16.0 and the following commit:
minitest/minitest@73692f9