Skip to content

Configure RSpec to allow running rspec --only-failures#5606

Merged
deivid-rodriguez merged 1 commit intomainfrom
deivid-rodriguez/rspec-only-failures
Sep 2, 2022
Merged

Configure RSpec to allow running rspec --only-failures#5606
deivid-rodriguez merged 1 commit intomainfrom
deivid-rodriguez/rspec-only-failures

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

When I make changes and break stuff, I like running rspec --only-failures to focus on fixing what I broke. This allows RSpec to keep track of what's currently failing, so that this flag can actually be used.

What do you think?

@deivid-rodriguez deivid-rodriguez requested a review from a team as a code owner August 31, 2022 17:01
Copy link
Copy Markdown
Member

@Nishnha Nishnha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested this out on my machine and confirmed it makes a separate .rspec_status file for each ecosystem directory you run rspec in

Also, thanks for sharing a cool rspec feature!

When I make changes and break stuff, I like running `rspec
--only-failures` to focus on fixing what I broke. This allows RSpec to
keep track of what's currently failing, so that this flag can actually
be used.
@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/rspec-only-failures branch from a872ccc to 6d6c343 Compare September 2, 2022 07:41
@deivid-rodriguez deivid-rodriguez merged commit 7080518 into main Sep 2, 2022
@deivid-rodriguez deivid-rodriguez deleted the deivid-rodriguez/rspec-only-failures branch September 2, 2022 07:55
@mctofu mctofu mentioned this pull request Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants