Skip to content

Commit 8a06ebc

Browse files
committed
add vscode workspace config for testing
1 parent db0671d commit 8a06ebc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,10 @@
2020
"mypy-type-checker.path": ["${workspaceFolder}/.venv/bin/mypy"],
2121
// prefer using mypy from the repo venv
2222
"mypy-type-checker.importStrategy": "fromEnvironment",
23+
// configure testing with unittest
24+
"python.testing.unittestArgs": [
25+
"-v", "-s", "./test", "-p", "test_*.py"
26+
],
27+
"python.testing.pytestEnabled": false,
28+
"python.testing.unittestEnabled": true,
2329
}

0 commit comments

Comments
 (0)