-
-
Notifications
You must be signed in to change notification settings - Fork 766
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
Bisect should fail fast if ordering is not stable #2489
Comments
In the general case no, since the ordering strategy is customizable and is opaque to bisect short of actually trying the tests. That said, we could possibly inspect the configuration to look for some combination of Maybe though a heuristic of "warn if Possible next steps:
|
I think it would be frustrating for the folks who don't use random ordering. |
follow on: we probably should detect if the entire example tree is going to be consistently ordered before proceeding with a bisect. That is:
|
@samphippen while that is a complete solution, I think it's more complex than we need. For the general case, we already detect inconsistent ordering, we just don't pre-detect it as @derekprior is requesting. IMO, it's sufficient to only detect the problem for the common case of someone using random ordering (set on |
I encountered an oddly failing test suite this morning, so I fired up
rspec bisect
and went to get breakfast once it started running. When I came back, this was the output I encountered:Is there a way to determine that I forgot to stabilize the order before running the initial test suite pass and fail the operation quickly and before the first 5 minute test suite run?
The text was updated successfully, but these errors were encountered: