vscode-python-test-adapter
vscode-python-test-adapter copied to clipboard
explorer using pytest but config file says unittest
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?