Skip to content

RSpec contexts have bad names #7

@Tabby

Description

@Tabby

Contexts currently are named after their location in a file (e.g. foo_spec.rb[1:2:3]), rather than the context description

Fixing this is likely to require redoing the format in which data is sent from the test process to the extension. I'm thinking it would be good to include all possible example and example group info as JSON with the status when a status event happens

Class name definitely needs to be included, as that's probably easy to split into context names given we only get notifications for contexts with tests as immediate children (note to self: expand on this with examples)

This gets particularly tricky with shared_examples because they're treated as subcontexts of the place where they're called from

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions