microsoft / microsoft/vscode-java-test

Inherited tests not supported

オープン
#718 コメント 10 件 リアクション 5 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

ai-triaged bug investigating junit low-priority test-discovery
主要言語
TypeScript
スター
340
フォーク
173
平均マージ
1日 19時間
マージ済み PR(30日)
18

説明

Codelens appears for the abstract test class even though it cannot be run directly (IntelliJ redirects you to the classes that inherit from the abstract class instead ...)

Codelens does not appear on the classes that inherit from the abstract test class

Sidebar only runs tests in abstract class resulting in InstantiationException because it's abstract.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、VS Code Java test extension で抽象テストクラスと、それを継承する1つ以上のテストクラスを使って動作を再現します。Codelens エントリとサイドバーからのテスト実行がどのように検出され、起動されるかを追跡します。継承クラスに実行可能な Codelens エントリが表示され、抽象クラスは直接実行可能なテストとして提供されない状態になれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, vscode
領域
developer-experience, testing
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。