Improved running the tests again

This commit is contained in:
Jaby 2022-09-25 18:21:28 +02:00 committed by Jaby
parent bc83d6078b
commit a490a0508a
1 changed files with 7 additions and 2 deletions

View File

@ -24,6 +24,11 @@
"kind": "build", "kind": "build",
} }
}, },
{
"label": "cargo test",
"type": "shell",
"command": "./run_cargo ${input:project} test release ${input:cargo target}"
},
{ {
"label": "run test make", "label": "run test make",
"type": "shell", "type": "shell",
@ -34,7 +39,7 @@
"options": { "options": {
"cwd": "${workspaceFolder}/Tests" "cwd": "${workspaceFolder}/Tests"
}, },
"dependsOn": ["cargo"], "dependsOn": ["cargo test"],
"dependsOrder": "sequence" "dependsOrder": "sequence"
} }
], ],
@ -55,7 +60,7 @@
{ {
"id": "cargo cmd", "id": "cargo cmd",
"type":"pickString", "type":"pickString",
"options": ["build", "check", "clean", "run", "test"], "options": ["build", "check", "clean", "run"],
"default": "build", "default": "build",
"description": "cargo command to run" "description": "cargo command to run"
}, },