Enhance "traditional" test flow support/tooling
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java
- Lĩnh vực
- ci-cd, documentation, testing
Hướng nghiên cứu
Bắt đầu bằng cách tìm trong tài liệu OpenLiberty về liberty:dev, -DhotTests và việc báo cáo của Surefire/Failsafe, sau đó xem lại hướng dẫn hiện có về cách chạy các bài kiểm thử trên một server đang hoạt động. Công việc được xem là hoàn tất khi có một workflow được lập tài liệu, được hỗ trợ hoặc một khuyến nghị rõ ràng; mọi công cụ dựa trên annotation sẽ cần maintainer quyết định về phạm vi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 14
- Fork
- 58
- Merge trung bình
- 1 giờ
- Pull request đã merge (30 ngày)
- 25
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenLiberty/docs
-
**DRAFT** Document Replace the Channel Framework with NettyCó thể đã có người làm @mrsaldana đã nhận 12 ngày trước. Đang mở
OpenLiberty/docs#8586 · 3 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
26.0.0.12
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
OpenLiberty/docs#8548 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Documentation, JWT Builder Workload Identity and JWK RotationCó thể đã có người làm @ramkumar-k-9286 đã nhận 4 ngày trước. Đang mở26.0.0.12
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
OpenLiberty/docs#8529 · 6 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Document the new set of Liberty container images based on UBI Micro (26.0.0.9)Có thể làm lại được @jantley-ibm đã nhận 84 ngày trước và không có pull request nào đang mở. Đang mở26.0.0.12
OpenLiberty/docs#8499 · 8 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
OpenLiberty/docs#8336 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenLiberty/docs
Issue tương tự
-
low-priority
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
terrakube-io/terrakube#3883 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
LucasSantana-Dev/Lucky#2983 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:client area:server chore good first issue track:tech
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
eclipse-score/cicd-actions#79 ·
Maintainer thường phản hồi trong vòng 1 ngày