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

How to reload only one specific Test Suite?

Open daneshmandi opened this issue 5 years ago • 3 comments

Is there a way to only reload one specific test suite rather than reloading all tests?

If not, would you please consider this as a feature request? Like a right click context menu on a single test suite(file) for instance.

daneshmandi avatar Jun 17 '19 15:06 daneshmandi

I don't believe this is possible with the current way adapters are built. Loads/reloads are sent to the adapters and they're only meant to request that all tests be reloaded, there's not a way to do partial reloads currently.

connorshea avatar Jul 31 '19 05:07 connorshea

@daneshmandi Why is this important? What is your problem actually?

matepek avatar Apr 24 '20 19:04 matepek

@matepek I'm looking for this feature as well, the main reason is because the project I'm on has thousands of tests in a monorepo. We run our tests (in our case using jest) on folders or specific files.

jaywick avatar Sep 02 '20 01:09 jaywick