Enhance "traditional" test flow support/tooling
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- java
- 領域
- ci-cd, documentation, testing
調査の方向性
まず OpenLiberty のドキュメントで liberty:dev、-DhotTests、Surefire/Failsafe のレポートについて検索し、次に、稼働中のサーバーに対してテストを実行するための既存のガイダンスを確認します。文書化され、サポートされているワークフロー、または明確な推奨事項があれば完了です。アノテーションベースのツールについては、スコープに関する maintainer の判断が必要になります。
索引モデルが issue の本文から書いたものです。
説明
Hi folks!
I am unsure on whether this is a feature request or just an inquiry yet as per my search on the documentation I wasn't able to find what I need.
Context:
OpenLiberty is great and it provides a lot of nice tooling which makes developer life easier (once you get used to it that is) yet at the same time it breaks a lot of the "standards" for traditional maven projects, i.e: running the tests against the live server of the application, to do so it is quite simple, just ./mvnw liberty:dev press enter and voila your test run against a live server of your application you can even do that with a single command by passing the -DhotTests flag.
The "problem" arise when you try to get the test reports (like those of surefire/failsafe) as you would do "traditionally" by running mvn test. That command starts, do its thing and, ends, this is great to add it as a step on your CI/CD pipeline, you just add such a step and when it ends your pipeline knows its time to move to the next step, liberty:dev does not make it as simple, specially since it is unclear when its a good time to stop the application after testing. The way I see it, you would either need to set up a timer or capture the output to find specific strings.
Other frameworks have solved this by creating an annotation that would start the server when the tests are running allowing true integration tests without much hassle, see @HelidonTest and @QuarkusTest, they also provide the benefit of starting the server at a random port, allowing for the same worker to run multiple instances of the project (lets say two MR analysis running in parallel on the same computer) without having the ports conflicting.
I hardly doubt I am the first one facing this issue so recommendations would be nice here, and in case its not maybe document such usage.
- 主要言語
- 言語のデータがありません
- スター
- 14
- フォーク
- 58
- 平均マージ
- 1時間
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenLiberty/docs のほかの issue
-
**DRAFT** Document Replace the Channel Framework with Netty対応中かも @mrsaldana が 12 日前に担当しました。 オープン
OpenLiberty/docs#8586 · 担当者 3 名 ·
メンテナーはふだん 1 日以内に返信
-
26.0.0.12
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
OpenLiberty/docs#8548 ·
メンテナーはふだん 1 日以内に返信
-
Documentation, JWT Builder Workload Identity and JWK Rotation対応中かも @ramkumar-k-9286 が 3 日前に担当しました。 オープン26.0.0.12
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
OpenLiberty/docs#8529 · コメント 6 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Document the new set of Liberty container images based on UBI Micro (26.0.0.9)再び着手できるかも @jantley-ibm が 84 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン26.0.0.12
OpenLiberty/docs#8499 · コメント 8 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
OpenLiberty/docs#8336 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
OpenLiberty/docs の issue をすべて見る
似ている issue
-
low-priority
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
terrakube-io/terrakube#3883 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
LucasSantana-Dev/Lucky#2983 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:client area:server chore good first issue track:tech
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
eclipse-score/cicd-actions#79 ·
メンテナーはふだん 1 日以内に返信