Searchbar and sorting is absent for Apex Tests menu and it's uncomfortable to look for needed test in project with a lot of classes

I _think_ this feature makes sense.
I _think_ this feature makes sense.
- A search bar is currently not possible with what is exposed in VS Code. See https://code.visualstudio.com/docs/extensionAPI/extension-points#_contributesviews. It only allows for contributions as a tree and some icons on top. VS Code Issue: Microsoft/vscode#50062
- Some sorting/filtering mechanism could be added - so that we can only filter out failing/passing tests.
I think it definitely makes sense. Especially for organizations with lots of code customization.
It would be great to just type in "workorder" and get all tests that contain this string on their names. Would completely improve the usability of this tab.
Another thing that could be considered is to show test suites, like this:
Test suites [run all]
- WorkOrder tests [run]
- WorkOrderFutureWorkerTest
- WorkOrderTriggerHandlerTest
- Cases tests [run]
- CaseFutureWorkerTest
- CaseTriggerHandlerTest
- Opportunity tests [run]
- OpportunityClosingLogicTest
- OpportunityGenerationFromAccountTest
- OpportunityTriggerHandlerTest
- Integration with that legacy system [run]
- ThatWebServiceCalloutTest
- ThatWebServiceBatchInsertTest
- ThatWebServiceBehaviorFutureTest
Test classes [run all]
- CaseFutureWorkerTest [run test]
- testMethod1 [run method]
- testMethod2 [run method]
- CaseTriggerHandlerTest [run test]
- testMethod1 [run method]
- testMethod2 [run method]
- OpportunityClosingLogicTest [run test]
- OpportunityGenerationFromAccountTest [run test]
- OpportunityTriggerHandlerTest [run test]
- ThatWebServiceBatchInsertTest [run test]
- ThatWebServiceBehaviorFutureTest [run test]
- ThatWebServiceCalloutTest [run test]
- WorkOrderFutureWorkerTest [run test]
- WorkOrderTriggerHandlerTest [run test]
Note: [run <something>] is representing that green arrow to run the test.
Completely agree, this would be good to add. I am going to bring this up with the VS Code team next time I chat with them. We may contribute the feature to VSC as well if they aren't planning it.
@lcampos I do not see any way to search/sort tests on the sidebar in v44.4.0.
It is still the same as it was before installing the latest version.
@venkatpolisetti This feature hasn't been added. @lcampos comment was on a different issue: https://github.com/forcedotcom/salesforcedx-vscode/issues/645#issuecomment-433122553
The sidebar now supports filtering starting with the July VS Code update.
Most helpful comment
Completely agree, this would be good to add. I am going to bring this up with the VS Code team next time I chat with them. We may contribute the feature to VSC as well if they aren't planning it.