Skip to content

Rerun a failed spec from some shared examples #51

@ollieh-m

Description

@ollieh-m

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions