Skip to content

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

@Alex-EEE

Description

@Alex-EEE

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

Metadata

Assignees

Labels

area-testingbugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions