File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed
Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ // Use IntelliSense to learn about possible attributes.
3+ // Hover to view descriptions of existing attributes.
4+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+ "version" : " 0.2.0" ,
6+ "configurations" : [
7+ {
8+ "name" : " DebugPy: Run pytest module (manually select venv of poetry)" ,
9+ "type" : " debugpy" ,
10+ "request" : " launch" ,
11+ // "pythonPath": "${workspaceFolder }/.venv/Scripts/python.exe", // need to set venv of poetry via vscode
12+ "cwd" : " ${workspaceFolder}" ,
13+ "module" : " pytest" ,
14+ "args" : [
15+ ],
16+ "console" : " integratedTerminal" ,
17+ "justMyCode" : true ,
18+ },
19+ // run pytests with poetry
20+ // {
21+ // "name": "DebugPy: poetry run pytest",
22+ // "type": "debugpy",
23+ // "request": "launch",
24+ // "program": "poetry",
25+ // "args": [
26+ // "run pytest"
27+ // ],
28+ // // "env": {
29+ // // "PYTHONPATH": "${workspaceFolder }"
30+ // // },
31+ // "console": "integratedTerminal"
32+ // },
33+ {
34+ "name" : " [Deprecated] Python: Run pytest module (manually select venv of poetry)" ,
35+ "type" : " python" ,
36+ "request" : " launch" ,
37+ // "pythonPath": "${workspaceFolder }/.venv/Scripts/python.exe",
38+ "cwd" : " ${workspaceFolder}" ,
39+ "module" : " pytest" ,
40+ "args" : [
41+ ],
42+ "console" : " integratedTerminal" ,
43+ "justMyCode" : false ,
44+ }
45+ ]
46+ }
Original file line number Diff line number Diff line change 1+ {
2+ "python.testing.pytestArgs" : [
3+ " tests"
4+ ],
5+ "python.testing.unittestEnabled" : false ,
6+ "python.testing.pytestEnabled" : true
7+ }
You can’t perform that action at this time.
0 commit comments