microsoft / microsoft/vscode-java-test
Results not reported for JUnit 5 suites
オープン
まだ誰も着手していません。
ai-triaged
bug
enhancement
junit
test-discovery
- 主要言語
- TypeScript
- スター
- 340
- フォーク
- 173
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 18
説明
Versions:
VSCode 1.92.2
Test Runner for Java 0.42.0
What happens:
When running a suite written with the JUnit 5 Jupiter API, the results of the test are not reported in the Test Results pane.
What was expected:
Test results from the suite should be reported in the same way as they are with suites written to the JUnit 4 API.
Steps to reproduce:
- Unzip the attached project.zip
- Launch Visual Studio Code for the project:
code project.code-workspace & - Browse to the class TestSuiteForJUnit4.java
- Click on the Play button to the left of the class declaration
- Observe that the test method is reported in the Test Results pane
- Browse to the class TestSuiteForJUnit5.java
- Click on the Play button to the left of the class declaration
- Observe that the test runs, but is not reported in the Test Results pane
Minimal example:
Screenshot:
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
1729-project.zip を展開し、TestSuiteForJUnit4.java と TestSuiteForJUnit5.java を比較します。まず、各実行が Test Results ペインでどのように表現されるかを確認します。両方の suite についてテスト結果の報告経路を追跡し、記載されている VS Code の手順を繰り返して動作を検証します。JUnit 5 suite のテストメソッドが JUnit 4 suite と同じように報告されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- devtools, testing-qa
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100