[💡 Feature]: Allow presets and to customize the test run command
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript, vscode
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 8
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
webdriverio/vscode-webdriverio のほかの issue
-
難易度 3/5 半日 初心者へのやさしさ 45/100
webdriverio/vscode-webdriverio#210 · リアクション 1 件 ·
-
Bug 🐛 Needs Triaging ⏳
難易度 4/5 3〜5日 初心者へのやさしさ 18/100
webdriverio/vscode-webdriverio#121 · コメント 1 件 ·
-
Bug 🐛 Needs Triaging ⏳
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
[💡 Feature]: Release on OpenVSX再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンIdea 💡 Needs Triaging ⏳
難易度 3/5 1〜3時間 初心者へのやさしさ 22/100
-
[🐛 Bug]: After running a test, the status in the testing panel is not updated再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンBug 🐛 Needs Triaging ⏳
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
webdriverio/vscode-webdriverio の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
garrytan/gbrain#10437 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Bedrock "Too many tokens" throttle is not auto-retried, unlike "Too many requests"対応中かも @acmerfight が今日担当しました。 オープンuntriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
earendil-works/pi#12573 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
agentes-chat/agentes-chat#1506 ·
メンテナーはふだん 1 日以内に返信
-
comp/desktop desktop/files os/windows P2 type/perf
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
NousResearch/hermes-agent#160359 ·
メンテナーはふだん 1 日以内に返信
-
Missing repro Platform: Android
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
software-mansion/react-native-reanimated#11554 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信