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

Run specs in random order #1914

Merged
merged 1 commit into from
Oct 6, 2019
Merged

Conversation

splattael
Copy link
Contributor

@splattael splattael commented Oct 4, 2019

This PR enables spec randomization by default. It also fixes a couple of failures discovered after enabling --order=rand 🤓

@grape-bot
Copy link

grape-bot commented Oct 4, 2019

1 Message
📖 We really appreciate pull requests that demonstrate issues, even without a fix. That said, the next step is to try and fix the failing tests!

Generated by 🚫 danger

@splattael splattael force-pushed the rspec-order-rand branch 2 times, most recently from 456f3d8 to ee11b02 Compare October 5, 2019 13:22
@dblock
Copy link
Member

dblock commented Oct 5, 2019

This is great, thank you. Do add yourself to CHANGELOG, this is important work. Squash, I'll merge.

This commit also restores global state in couple of specs which caused
flaky failures after enabling randomization.
@splattael splattael changed the title WIP: Run specs randomized by default Run specs in random order Oct 6, 2019
@splattael
Copy link
Contributor Author

I also wanted to add a I18nSupport and a RSpec tag :i18n to streamline locale specs but this can be a follow-up PR 👍

Thanks a lot @dblock 🙇‍♂️

@dblock dblock merged commit 4aa910e into ruby-grape:master Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants