Skip to content

Commit 8eefc53

Browse files
Merge #411
411: Add rspec status persistence file r=ellnix a=ellnix This allows rspec to "remember" the last test run, allowing for commands like `rspec --only-failures`, which should improve developer UX. Picked `spec/tmp/examples.txt` since it's idiomatic to call this file examples.txt and `spec/tmp` was already in the gitignore. It's a small thing but I don't think there's an argument against having it. Co-authored-by: ellnix <[email protected]>
2 parents 3f46ded + bce1eaf commit 8eefc53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
c.filter_run focus: true
5050
c.run_all_when_everything_filtered = true
5151
c.formatter = 'documentation'
52+
c.example_status_persistence_file_path = 'spec/tmp/examples.txt'
5253

5354
c.around do |example|
5455
Timeout.timeout(120) do

0 commit comments

Comments
 (0)