Skip to content

Problem to recognize tests with @pytest.mark.parametrize decorator #785

@roschel

Description

@roschel

Hello guys.

I've been facing some problems here when trying to debug tests that is decorated with parametrize.

Image

VsCode can't recognize these tests with parametrize from pytest.

my .vscode/settings.json:

{
    "python.testing.pytestArgs": [
        "tests"
    ],
    "python.testing.unittestEnabled": false,
    "python.testing.pytestEnabled": true
}

My VsCode version: 1.103.1

Does anyone know how to resolve this problem?

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from postertriage-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