Skip to content

Commit 37b6c85

Browse files
committed
chore: improve vscode test task
1 parent c29e994 commit 37b6c85

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.vscode/tasks.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@
163163
"hide": true
164164
},
165165
{
166-
"label": "Run pytest",
167-
"type": "shell",
166+
"label": "Backend :: Testing :: Run Active File",
167+
"type": "process",
168168
"command": "pytest",
169169
"args": ["${file}"],
170170
"options": {
@@ -174,6 +174,11 @@
174174
"group": {
175175
"kind": "test",
176176
"isDefault": "**/tests/**.py"
177+
},
178+
"presentation": {
179+
"focus": true,
180+
"clear": true,
181+
"panel": "dedicated"
177182
}
178183
}
179184
]

0 commit comments

Comments
 (0)