Multiple selections in test UI run individually/isolated
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- java, typescript
- 領域
- performance, testing
調査の方向性
まず、複数のメソッドとクラスを使って Tests sidebar からの遅延を再現し、親クラスまたはパッケージを選択した場合と比較します。カスタムの選択および実行パスを追跡し、setup と teardown がどこで呼び出されるかに注意します。複数の選択が適切な setup/teardown サイクルを共有し、以前に失敗したテストの再実行を変更しないことが完了の条件です。
索引モデルが issue の本文から書いたものです。
説明
Originally raised at redhat-developer/vscode-java#4338.
Observed behaviour: multiple methods under a Java test class (or multiple test classes under a package) selected in the Tests sidebar tree seem to run significantly slower than when just selecting the single parent class (or package).
This seems to be because each selection does a full setup/teardown (i.e. selecting a class does one setup/teardown cycle, before the first and after the last method; selecting four methods from that class does four cycles, one around each method). For projects like Spring web applications and their unit tests, the application is recreated unnecessarily for each test, and for large applications this causes a significant slowdown. Repeating failed unit tests from a previous run doesn't seem to be affected in this way.
My understanding is that JUnit at least doesn't provide much of a test selection interface, so I'm assuming there's a custom runner in play in order to target the selected or previously-failed tests in the first place.
- 主要言語
- TypeScript
- スター
- 339
- フォーク
- 174
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/vscode-java-test のほかの issue
-
CodeLens missing and individual method execution freezes on @Nested JUnit 6 classes (macOS)対応中かも @wenytang-ms が 7 日前に担当しました。 オープンai-triaged bug investigating junit test-discovery test-execution
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
microsoft/vscode-java-test#1897 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] The extension uses raw data.再び着手できるかも @wenytang-ms が 91 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンai-triaged bug gradle high-priority test-execution
microsoft/vscode-java-test#1880 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] IllegalAccessException: module java.base does not open java.lang to unnamed module再び着手できるかも @wenytang-ms が 91 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンai-triaged gradle junit test-execution ux
microsoft/vscode-java-test#1878 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
ai-triaged enhancement gradle investigating junit low-priority test-reporting
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/vscode-java-test#1824 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
java.lang.IllegalArgumentException: Error: test loader org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader not found再び着手できるかも @wenytang-ms が 213 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンai-triaged bug gradle high-priority junit test-execution
microsoft/vscode-java-test#1816 · コメント 11 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
microsoft/vscode-java-test の issue をすべて見る
似ている issue
-
level/task reporter/qa type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
wazuh/wazuh-dashboard-plugins#9310 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cybersemics/treecrdt#267 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
wiz-sec-public/backstage-plugin-wiz#16 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
solana-foundation/solana-com#2245 ·
メンテナーはふだん 1 日以内に返信