vscode-python-test-adapter icon indicating copy to clipboard operation
vscode-python-test-adapter copied to clipboard

explorer using pytest but config file says unittest

Open brianreinhold opened this issue 10 months ago • 0 comments

This is what the test adapter is doing: python.exe -m pytest -p vscode_pytest --collect-only

this is the settings.json file

{
    "python.linting.enabled": true,
    "python.languageServer": "Pylance",
    "python.analysis.typeCheckingMode": "strict",
    "python.analysis.diagnosticSeverityOverrides": {
        "reportMissingModuleSource": "none"
    },
    "micropico.syncFolder": "",
    "micropico.openOnStart": true,
    "python.analysis.typeshedPaths": [
        ".vscode\\Pico-W-Stub"
    ],
    "python.analysis.extraPaths": [
        ".vscode\\Pico-W-Stub"
    ],
    "python.testing.unittestArgs": [
        "-v",
        "-s",
        "./unittests",
        "-p",
        "*test*.py"
    ],
    "python.testing.pytestEnabled": false,
    "python.testing.unittestEnabled": true
}

Test explorer say pytest not found. Why is it doing this?

brianreinhold avatar Mar 29 '24 11:03 brianreinhold