From ab0ea0393faa0820cb8e80890162bbdb51c1f105 Mon Sep 17 00:00:00 2001 From: Alexey Safronov Date: Fri, 17 Nov 2023 13:31:52 +0400 Subject: [PATCH] Added new tasks for client tests --- .vscode/tasks.json | 45 +++++++++++++++++++++++++++++++++++++++++ frontend.code-workspace | 21 +++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 29fb7e2c83..1cadaf4481 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -196,6 +196,51 @@ "focus": true, "close": false } + }, + { + "label": "Test | frontend-translations", + "type": "shell", + "command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/run.translations.tests.py", + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "reveal": "always", + "panel": "new", + "focus": true, + "close": false + } + }, + { + "label": "Test | frontend-translations-spellcheck", + "type": "shell", + "command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/run.translations.spellcheck.tests.py", + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "reveal": "always", + "panel": "new", + "focus": true, + "close": false + } + }, + { + "label": "Test | frontend-translations-spellcheck-force-save", + "type": "shell", + "command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/run.translations.spellcheck.tests.py -f", + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "reveal": "always", + "panel": "new", + "focus": true, + "close": false + } } ] } diff --git a/frontend.code-workspace b/frontend.code-workspace index e835d072e1..5281b4ed58 100644 --- a/frontend.code-workspace +++ b/frontend.code-workspace @@ -119,6 +119,27 @@ } ], "tooltip": "🛠️ Client tasks" + }, + { + "label": "Tests", + "tasks": [ + { + "label": "translations", + "task": "Test | frontend-translations", + "tooltip": "🛠️ Start the \"frontend translation tests\" task" + }, + { + "label": "spellcheck", + "task": "Test | frontend-translations-spellcheck", + "tooltip": "🛠️ Start the \"frontend translation spellcheck tests\" task" + }, + { + "label": "spellcheck-force-save", + "task": "Test | frontend-translations-spellcheck-force-save", + "tooltip": "🛠️ Start the \"frontend translation spellcheck tests\" task" + } + ], + "tooltip": "🛠️ Client tests tasks" } ] },