44 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55 "version" : " 0.2.0" ,
66 "configurations" : [
7+ {
8+ "name" : " Run Test Launcher" ,
9+ "type" : " python" ,
10+ "request" : " launch" ,
11+ "program" : " ${workspaceFolder}/plotpy/tests/__init__.py" ,
12+ "console" : " integratedTerminal" ,
13+ "envFile" : " ${workspaceFolder}/.env" ,
14+ "python" : " ${config:python.defaultInterpreterPath}" ,
15+ "justMyCode" : true ,
16+ "env" : {
17+ "QT_COLOR_MODE" : " light" ,
18+ }
19+ },
720 {
821 "name" : " Run current file" ,
922 "type" : " python" ,
1326 "envFile" : " ${workspaceFolder}/.env" ,
1427 "python" : " ${config:python.defaultInterpreterPath}" ,
1528 "justMyCode" : false ,
16- // "args": [
17- // "--unattended"
18- // ],
1929 "pythonArgs" : [
2030 " -W error::DeprecationWarning" ,
2131 ],
2232 "env" : {}
2333 },
2434 {
25- "name" : " Python: Debug Tests " ,
35+ "name" : " Run current file (unattended) " ,
2636 "type" : " python" ,
2737 "request" : " launch" ,
2838 "program" : " ${file}" ,
29- "purpose" : [
30- " debug-test"
31- ],
3239 "console" : " integratedTerminal" ,
40+ "envFile" : " ${workspaceFolder}/.env" ,
41+ "python" : " ${config:python.defaultInterpreterPath}" ,
42+ "pythonArgs" : [
43+ " -W error::DeprecationWarning" ,
44+ ],
45+ "justMyCode" : false ,
46+ "args" : [
47+ " --unattended"
48+ ],
3349 "env" : {
34- "PYTEST_ADDOPTS" : " --no-cov"
35- },
36- "justMyCode" : false
50+ "GUIDATA_PARSE_ARGS" : " 1" ,
51+ }
3752 }
3853 ]
3954}
0 commit comments