Skip to content

Python unittest runner doesn't respect arguments to pass to unittest runner #20425

Open
@Alex-EEE

Description

Repro:

Go into settings, put a bogus arg into settings (note --silly)

    "python.testing.unittestArgs": [
        "-v",
        "-s",
        "./py-unit-tests",
        "-p",
        "test*.py",
        "-b",
        "--silly"
    ],

Now run tests. They still run, even though this is invalid!!!

Metadata

Assignees

Labels

area-testingbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions