Improved running the tests again

This commit is contained in:
jaby 2022-09-25 18:21:28 +02:00
parent 35ad9c68c2
commit c6d1726a70
1 changed files with 7 additions and 2 deletions

View File

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