You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Please provide ability to search test names in discovered tests #8836
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.
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.
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.
changed the title [-]Please provide ability to search discovered tests[/-][+]Please provide ability to search test names in discovered tests[/+]on Dec 2, 2019
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.
Activity
DonJayamanne commentedon Nov 27, 2019
Have you tried the command
Python: Run Test Method. That might give you want you're after.skasturi commentedon Nov 28, 2019
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 Methodas 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.
karthiknadig commentedon Dec 2, 2019
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.
[-]Please provide ability to search discovered tests[/-][+]Please provide ability to search test names in discovered tests[/+]DonJayamanne commentedon Dec 3, 2019
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.
karthiknadig commentedon Jul 29, 2021
This should be fixed via #16769