microsoft / microsoft/vscode-java-test
Expose lists of tests to be usable in inputs of task.json
オープン
まだ誰も着手していません。
ai-triaged
enhancement
maven
test-discovery
- 主要言語
- TypeScript
- スター
- 340
- フォーク
- 173
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 18
説明
I want to write a task like
"inputs": [
{
"id": "pickedTest",
"type": "command",
"command": "extension.yourextension.testPickerinCurrentFile",
}
],
"tasks": [{
"type": "shell",
"command": "mvn -Dtest=${input:pickedTest} test -e",
"label": "run test.."
}]
to be able to run any test(s) in current file or the entire workspace in my terminal instead of the debug console.
so if you exposed two commands
- one for tests or test classes in current file
- one for tests or test classes in entire workspace
with full classpath and/or methodname as output which can directly be fed to maven, I'd be grateful.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
task.json の入力例と、current-file および workspace に対して要求されているテストコマンドから始め、Maven が classpath、class、method-name の出力をどのように受け付けるかを確認します。完了とは、両方のコマンドが、task に置き換えてターミナルから実行できるテスト選択を公開することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- testing, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100