Add example_status_persistence_file_path option to rspec helper to speedup failed specs flow
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
RSpec provides the CLI flags --only-failures and --next-failure for only running relevant failed tests on subsequent executions. That helps when stepping through multiple spec failures and fixing them.
https://relishapp.com/rspec/rspec-core/docs/command-line/only-failures
I'd propose to add the example_status_persistence_file_path configuration option to the spec helper and write to a temp directory the data. A candidate would be the tmp dir that gdk already creates.
I also feel that this would help in the direction proposed in https://gitlab.com/gitlab-org/gitlab-ce/issues/58157
Would there be any interest in this? I'd be willing to take over a small MR and testing.