<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes/No <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.103.2 - OS Version: Windows11 26100.6584 Steps to Reproduce: 1. After configuring settings.json, when I right-click on a single test case and click "Cancel Running Test", the test still runs in the background
Activity
chengzhile commentedon Sep 11, 2025
When right-clicking to cancel a single test, all test cases are still running in the background
chengzhile commentedon Sep 11, 2025
The setting.json configuration is as follows:
{
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.autoTestDiscoverOnSaveEnabled": true,
"python.testing.pytestArgs": [
"--verbose",
"-s",
"--rootdir=${workspaceFolder}",
],
}
eleanorjboyd commentedon Sep 12, 2025
thanks for the issue- will investigate
eleanorjboyd commentedon Sep 12, 2025
duplicate of #25298