Skip to content

Regarding bugs in pytest #25462

Closed as duplicate
Closed as duplicate

Description

@chengzhile

Does this issue occur when all extensions are disabled?: Yes/No

  • 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

  1. chengzhile commented on Sep 11, 2025

    @chengzhile
    Author

    When right-clicking to cancel a single test, all test cases are still running in the background

  2. chengzhile commented on Sep 11, 2025

    @chengzhile
    Author

    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}",
    ],
    }

  3. eleanorjboyd commented on Sep 12, 2025

    @eleanorjboyd
    Member

    thanks for the issue- will investigate

  4. eleanorjboyd commented on Sep 12, 2025

    @eleanorjboyd
    Member

    duplicate of #25298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

triage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions