Working on a big project with ms-python.python module of VS-Code, I have to wait for a long time for the unit-test discovery after saving any changes. Also discovering all unit-tests consumes much power on laptop.
Is there any way to disable auto discovery and call it just whenever adding a new test (or remove a one)?

Click on settings
"python.unitTest.autoTestDiscoverOnSaveEnabled": false
And add this line to your PROJECT SETTINGS
This would disable the autotest discovery on every change in your project workspace.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With