-
Notifications
You must be signed in to change notification settings - Fork 97
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
merge with rspec-repeat? #46
Comments
i'm all for it, but have you also considered: a) let them exist side by side? |
I think they're so similar that maybe deprecating one is better than keeping them side by side. I think your code base is better than ours (minus our much more comprehensive test suite). We could certainly use rspec-repeat as a dependency, however I think once we pull out the rspec-retry guts and replace them with rspec-retry, most of what we'd have is a test suite. |
I'm happy with rspec-retry absorbing rspec-repeat in whatever way that probably means, even if it's replacing all of I just request that you make repeating all of |
@dwbutler thoughts on this? Then will move forward / give you access |
@michaelglass I like @rstacruz's implementation of rspec-repeat. I would be in favor of giving him contributor access so he can merge in his changes in favor of mine. The only difference is that rspec-repeat is opt-in - you have to set up an The right approach might be to do a major version bump, move ahead with breaking changes, and document them. |
would like to stay syntax-compatible (still with a major version bump) but I think we can have rspec-repeat do the heavy lifting |
How about having both available — the That would be approximately: config.around :each, :retry do |ex|
RSpec::Repeat.repeat ex.metadata[:retry], ex.metadata
end it 'eventually works', retry: 3, verbose: true do
expect(rand(2)).to eq 0
end also: gotta decide on method names at some point ( |
yeah exactly |
@dwbutler @rstacruz
thoughts on merging with
rspec-repeat
? I thinkrspec-retry
has better SEO / name recognition butrspec-repeat
has a cleaner codebase. From that perspective: Would be happy to eitherrspec-repeat
as the next big-version-number version ofrspec-retry
.or
rspec-retry
and point people towardsrspec-repeat
in the readme.My requirements would be
thoughts, you two?
The text was updated successfully, but these errors were encountered: