-`python.testing.autoTestDiscoverOnSaveEnabled` is set to `true` by default, meaning that test discovery is also performed automatically whenever you add, delete, or update any Python file in the workspace. To disable this feature, set the value to `false`, which can be done either in the Settings editor or in the `settings.json` file as described in the VS Code [Settings](/docs/editor/settings.md) documentation. You will need to reload the window for this setting to take effect. If `python.testing.autoTestDiscoverOnSaveEnabled` is set to true, you can refine when auto test discovery occurs by using the `python.testing.autoTestDiscoverOnSavePattern` setting, which specifies a glob pattern that determines which file changes trigger test discovery. Its default value is `**/*.py`.
0 commit comments