[💡 Feature]: Allow presets and to customize the test run command
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript, vscode
- Ambito
- developer-experience, tooling
Direzione di ricerca
The issue asks for a setting, such as customRunCommand, that replaces the extension's built-in test run command with a user-defined one. Its placeholders are configFile, specFile and specLineNumber. Start by finding where the extension builds the single-spec run command and how it reads its settings. Maintainers have not agreed on the design, and the issue has had no comments in 525 days, so confirm the approach with them before writing code. Done means a configured command runs with the placeholders substituted.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem?
There are several use cases for having a one-click run with a custom commands.
Examples:
User uses want to debug a single test, therefore for a specific test I want to run with CLI flag --maxInstances 1 and my own custom CLI argument, I might want to run an npm script and not simply invoke the test-runner with the config.
Therefore, we could customize the command, making use of variables.
Describe the solution you'd like.
Have an option somewhere (VS Code extension option maybe)
customRunCommand: "npx wdio ${configFile} --spec "${specFile}:${specLineNumber}" --myCustomArg; echo "Done!"; curl -PUT example.com/done --data "{ done: true }"
or
customRunCommand: "npm run myscript"
When users chooses to run a specific test, the custom command runs, replacing the variables configFile, specFile and specLineNumber among others.
customRunCommand: "npx wdio cloud.wdio.conf.ts --spec "project/tests/myspec.spec.ts:123" --maxInstances 1 --myCustomArg; echo "Done!"; curl -PUT example.com/done --data "{ done: true }"
Describe alternatives you've considered.
No response
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- Lingua principale
- TypeScript
- Stelle
- 8
- Fork
- 5
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di webdriverio/vscode-webdriverio
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
webdriverio/vscode-webdriverio#210 · 1 reazione ·
-
[🐛 Bug]: WDI5 + SauceLabsApertaBug 🐛 Needs Triaging ⏳
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
webdriverio/vscode-webdriverio#121 · 1 commento ·
-
[🐛 Bug]: Debug on TypescriptApertaBug 🐛 Needs Triaging ⏳
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
[💡 Feature]: Release on OpenVSXForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. ApertaIdea 💡 Needs Triaging ⏳
Difficoltà 3/5 1-3 ore Idoneità per principianti 22/100
-
[🐛 Bug]: After running a test, the status in the testing panel is not updatedForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. ApertaBug 🐛 Needs Triaging ⏳
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
Tutte le issue di webdriverio/vscode-webdriverio
Issue simili
-
Postgres upgrade golden leaves fixture URL query parameters in the expected output comparisonAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
garrytan/gbrain#10437 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Bedrock "Too many tokens" throttle is not auto-retried, unlike "Too many requests"Forse già presa @acmerfight l’ha presa oggi. Apertauntriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
earendil-works/pi#12573 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
agentes-chat/agentes-chat#1506 ·
I maintainer di solito rispondono entro 1 giorno
-
comp/desktop desktop/files os/windows P2 type/perf
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
NousResearch/hermes-agent#160359 ·
I maintainer di solito rispondono entro 1 giorno
-
Missing repro Platform: Android
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
software-mansion/react-native-reanimated#11554 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno