kondratyev-nv / vscode-python-test-adapter

Python Test Adapter for the VS Code Test Explorer
https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter
MIT License
120 stars 27 forks source link

Feature Request: Allow marking specific tests as not to auto-run #240

Open flying-sausages opened 3 years ago

flying-sausages commented 3 years ago

I'd like to auto-test only a specific subsets of tests automatically. I've got some that I would prefer to run manually as they take quite a while.

kondratyev-nv commented 3 years ago

@flying-sausages Thank you for the issue! You can already enable/disable auto-run for specific tests/suites by right-clicking on it image

Does that help?

flying-sausages commented 3 years ago

Hey again, I knew of that option but based on the behaviour I've seen it do, I assumed it was the same as the settings in the top of the pane which applied to them all. Thanks!

How exactly should this work? If I have auto-run on all tests and I click on one to disable it, it disables all tests.

I didn't know that you can choose one test/testclass to run, but it seems there's a limitation to only one test class? As soon as I try to also auto-run another test class, the other one disabled.

My assumption was that I would be able to freely toggle any set of arbitrary nodes (and its children) within the test tree without it making changes to my previous set.