Enhance "traditional" test flow support/tooling
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 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 小时
- 30 天内合并 PR
- 25
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenLiberty/docs 的其他 Issue
-
**DRAFT** Document Replace the Channel Framework with Netty可能已有人在做 @mrsaldana 于 13 天前认领。 未关闭
OpenLiberty/docs#8586 · 已指派 3 人 ·
维护者通常 1 天内回复
-
26.0.0.12
难度 5/5 一周以上 新手友好度 25/100
OpenLiberty/docs#8548 ·
维护者通常 1 天内回复
-
Documentation, JWT Builder Workload Identity and JWK Rotation可能已有人在做 @ramkumar-k-9286 于 4 天前认领。 未关闭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 于 85 天前认领,目前没有进行中的 PR。 未关闭26.0.0.12
OpenLiberty/docs#8499 · 8 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
OpenLiberty/docs#8336 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTML可能已有人在做 @Donvero 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
Mantitup-Org/vista#210 ·
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 72/100
servo/rust-smallvec#873 ·
-
area:breg bug rust
难度 2/5 1-3 小时 新手友好度 67/100
registrystack/registry-stack#2632 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bot-found bug priority: P3
难度 2/5 1-3 小时 新手友好度 77/100
madenvel/KalinkaPlayer#564 ·