Question: how to run tests with properties from alternative pom file

オープン
#1,365 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java, vscode
領域
testing, tooling

調査の方向性

VS Code 用の Java テストランナーのセットアップから始め、テストの起動動作を mvn clean install -f testsuite/integration-arquillian/pom.xml と比較します。参照されている Keycloak の testsuite/integration-arquillian/tests/pom.xml のプロパティを調査し、代替の POM を選択できるかどうかを確認します。必要なプロパティを指定して VS Code から Arquillian テストを実行できれば完了です。

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

説明

ai-triaged enhancement junit low-priority maven question test-execution

I'm trying to run tests for a project which uses Arquillian integration test framework. The project has an alternative pom.xml file (outside of the root dir of the project) which should be used when runninng tests via maven

mvn clean install -f testsuite/integration-arquillian/pom.xml

but when running tests from vscode, I get exceptions/errors that seem like I'm missing all the mandatory default properties that are defined in the pom files but are missing when running tests via vscode.

Would you have any pointers for me on how to setup Java test runner for vscode for a project like this? I'd appreciate any help!

The project I'm working with is keycloak and the pom with the (apparently ignored) properties is testsuite/integration-arquillian/tests/pom.xml.

主要言語
TypeScript
スター
340
フォーク
173
平均マージ
1日 2時間
マージ済み PR(30日)
17

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

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

はじめの一歩

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

microsoft/vscode-java-test のほかの issue

microsoft/vscode-java-test の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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