Skip to content

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

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!!!

Activity

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

Metadata

Metadata

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