Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Add -n short option for --next-failure #2434

Merged
merged 1 commit into from
Jun 17, 2017
Merged

Conversation

ianks
Copy link
Contributor

@ianks ianks commented Jun 16, 2017

--next-failures is such a terrific feature! It really helps me to stay focused and write specs which are concise, and more easily squash bugs when they arise.

The only thing that I do not like about the feature is all of the typing involved when writing --next-failures. This PR makes a short option -n, to increase the ergonomics of using the feature. Less typing, happier hands!

@myronmarston myronmarston merged commit 2d6180c into rspec:master Jun 17, 2017
@myronmarston
Copy link
Member

Thanks!

@ianks
Copy link
Contributor Author

ianks commented Jun 18, 2017

Thanks @myronmarston! I am working on a quick blog post for this, do you know which version of RSpec this will be featured in?

@myronmarston
Copy link
Member

As an enhancement, it'll have to go in the next minor release (3.7). We released 3.6 recently so 3.7 is a ways off.

@ianks
Copy link
Contributor Author

ianks commented Jun 19, 2017

No problem :)

MatheusRich pushed a commit to MatheusRich/rspec-core that referenced this pull request Oct 30, 2020
Add -n short option for --next-failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants