microsoft / microsoft/vscode-java-test
Extension doesn't always compile code before running tests.
オープン
まだ誰も着手していません。
ai-triaged
bug
help wanted
test-execution
- 主要言語
- TypeScript
- スター
- 340
- フォーク
- 173
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 18
説明
If I edit code and don't save the file, running the tests sometimes executes the old code.
When I click run, the files are saved, but there seems to be a race between the compiler and JUnit. Sometimes the compiler wins and things are okay, sometimes I get false test failures because JUnit is running the old code.
This is on MacOS 13.6, v0.40.0 of the runner, and vscode 1.83.1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
報告されている macOS 13.6、runner v0.40.0、VS Code 1.83.1 のセットアップで問題を再現します。まず、Run をクリックしてからファイルの保存、コンパイル、JUnit の実行に至るまでの流れを追跡します。編集済みだが以前は保存されていなかったコードがテストの実行前にコンパイルされ、JUnit が古いコードを実行できない状態になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- testing, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100