Skip to content

No test discovery functionality when using unittest on macOS #14962

@jdwestbrook

Description

@jdwestbrook

The latest insiders build has lost test discover functionality. The bottom window bar has no "run tests" item displayed. No controls are available to discover tests and provide run/debug options in test scripts. This is the second bulld recently with this issue.

settings.json

{
    "python.pythonPath": "/usr/local/pyenv-root/versions/3.9.0/bin/python",
    "python.formatting.provider": "black",
    "python.testing.unittestArgs": [
        "-v",
        "-s",
        ".",
        "-p",
        "test*.py"
    ],
    "python.testing.pytestEnabled": false,
    "python.testing.nosetestsEnabled": false,
    "python.testing.unittestEnabled": true
}

Metadata

Metadata

Assignees

Labels

area-testingbugIssue identified by VS Code Team member as probable bugmacosregressionBug didn't exist in a previous release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions