When a spec fails that is from some shared examples, the rerun then reports 0 examples, 0 failures, so it isn't rerunning the failed spec.
Would it be possible to rerun the shared example in the context of where it failed?
I think the rerun would need to do something like this:
rspec spec/features/spec_that_includes_it_behaves_like.rb --example 'Name of specific test in the shared examples that failed'
When a spec fails that is from some shared examples, the rerun then reports
0 examples, 0 failures, so it isn't rerunning the failed spec.Would it be possible to rerun the shared example in the context of where it failed?
I think the rerun would need to do something like this:
rspec spec/features/spec_that_includes_it_behaves_like.rb --example 'Name of specific test in the shared examples that failed'