vscode-java-test icon indicating copy to clipboard operation
vscode-java-test copied to clipboard

Feature Request: Only run filtered tests

Open LinqLover opened this issue 2 years ago • 5 comments

I am filtering out large acceptance tests via the filter textbox. I would like to press a button that only runs the tests that are currently in view.

LinqLover avatar Nov 04 '21 09:11 LinqLover

Have you tried this button?

image

jdneo avatar Nov 05 '21 01:11 jdneo

Thank you, but it would also be nice if the buttons on the single groups in the tree view below would honor the current filters. Don't you think so?

LinqLover avatar Nov 05 '21 14:11 LinqLover

Ah, I think I get your point.

Do you mean that in the below case:

image

When you click the 'play' button, only the case testInitFindForm() should be run?

jdneo avatar Nov 06 '21 02:11 jdneo

Exactly. :-)

LinqLover avatar Nov 06 '21 10:11 LinqLover

Thanks for the confirmation. Currently this behavior is determined by the VS Code testing API. To resolve this issue, we need the upstream API gets an update.

Currently, please use the button in the navigation bar as a workaround.

jdneo avatar Nov 08 '21 01:11 jdneo