Skip to content

Watch mode test pattern is global but it isn't quite obvious #2978

Closed
@gaearon

Description

@gaearon

I run p to choose a file:

screen shot 2017-02-22 at 6 21 07 pm

Then I wanted to filter to a single test with t:

screen shot 2017-02-22 at 6 21 53 pm

From this screen, it seems like it would only run this test. But nope, it seemingly runs the match on all files:

screen shot 2017-02-22 at 6 22 41 pm

I'm not sure if this is intentional behavior or not, but it makes test pattern mode much less useful to me because I can never guess how many tests in other files may happen to share the same substring in their name. It's also never useful to me to filter all tests in the codebase by a word. I'd rather have take the exact match I chose with arrows than using the pattern I entered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions