Skip to content

Please provide ability to search test names in discovered tests #8836

Closed

Description

Currently, when tests are discovered and showed in the Tests pane, there is no way to search (by string) among those tests.

I would like the ability to search among those tests based on a string and then execute them.

Closest example is what we have in Extensions. We have a search box at the top where we can search based on a string. Similar ability to search among test (based on string/name) is what I am requesting.

Activity

  1. DonJayamanne commented on Nov 27, 2019

    @DonJayamanne

    Have you tried the command Python: Run Test Method. That might give you want you're after.

  2. skasturi commented on Nov 28, 2019

    @skasturi
    Author

    Thank you. That works for the most granular level of tests. However, finding test files such as test_<>.py (which is how they are grouped in the Test pane) is not available through Python: Run Test Method as I see currently.

    For example, in a repo of ~1000 tests and scrolling up and down to find out the groups/testfile names of tests is kind of hard.

  3. karthiknadig commented on Dec 2, 2019

    @karthiknadig
    Member

    Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

  4. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Dec 2, 2019
  5. changed the title [-]Please provide ability to search discovered tests[/-] [+]Please provide ability to search test names in discovered tests[/+] on Dec 2, 2019
  6. DonJayamanne commented on Dec 3, 2019

    @DonJayamanne

    groups/testfile names of tests is kind of hard.

    The list get filtered as you type into the dropfown list box. I.e. searching within the dropfown list is possible even with 1000 items, e.g. searching by file names.

    Please try that and let us know how that goes.

  7. karthiknadig commented on Jul 29, 2021

    @karthiknadig
    Member

    This should be fixed via #16769

    image

  8. locked as resolved and limited conversation to collaborators on Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions