Added new tasks for client tests

This commit is contained in:
Alexey Safronov 2023-11-17 13:31:52 +04:00
parent 710a813006
commit ab0ea0393f
2 changed files with 66 additions and 0 deletions

45
.vscode/tasks.json vendored
View File

@ -196,6 +196,51 @@
"focus": true, "focus": true,
"close": false "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
}
} }
] ]
} }

View File

@ -119,6 +119,27 @@
} }
], ],
"tooltip": "🛠️ Client tasks" "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"
} }
] ]
}, },