Logging of Test execution in QTTestDriver verbose mode
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp
- Lĩnh vực
- observability, testing-qa
Hướng nghiên cứu
Bắt đầu bằng cách xác định implementation của QTTestDriver và phần xử lý InvokeResult::success(), sau đó kiểm tra cách cờ verbose và các kiểu Result hiện có cung cấp output. Công việc được hoàn thành khi output của một lần thực thi test QT thành công có sẵn cho driver và được ghi log khi chế độ verbose được bật, mà không làm mất ngữ cảnh hữu ích của lỗi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
🤔 What's the problem you're trying to solve?
Currently if the steps run without any problems, the output from the test could not be logged or seen. The output is stored in a file that is removed after test and does not contain helpful information on success cause no loglevel is provided to the test
✨ What's your proposed solution?
The verbose flag or another flag should be provided to the TestDriver implementation.
The testdriver should then configure the tests with the appropriate, driver specific loglevels.
The output of the test could be
- provided as "description" as part of the InvokeResult::success() like for the other Resulttypes
- the description should be logged out in case of the verbose flag enabled.
⛏ Have you considered any alternatives or workarounds?
The logging could be done in the steps implementation by NOT using the QT macros qInfo() or by providing an messagehandler for this. Long text short: logging to stderr is possible and output from stderr is shown. This could also a way to enable logging. But in failure cases the context of these logs and the steps executions do not match. This might not be helpfull.
📚 Any additional context?
No response
- Ngôn ngữ chính
- C++
- Star
- 330
- Fork
- 142
- Merge trung bình
- 2 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 cucumber/cucumber-cpp
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
cucumber/cucumber-cpp#317 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
cucumber/cucumber-cpp#313 · 9 bình luận ·
-
Authorize hyphen "-" for TagCó thể làm lại được @ursfassler đã nhận 399 ngày trước và không có pull request nào đang mở. Đang mởbug
cucumber/cucumber-cpp#312 · 4 bình luận · 1 người được giao ·
-
Cucumber for MakefileĐang mởhelp
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
cucumber/cucumber-cpp#302 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
cucumber/cucumber-cpp#297 · 13 bình luận ·
Tất cả issue của cucumber/cucumber-cpp
Issue tương tự
-
Build fails on macOS 27: dyld refuses stripped Rust proc-macros (mis-aligned LINKEDIT string pool)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
cloudflare/workerd#8963 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Android Bug Core Drape
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
organicmaps/organicmaps#14449 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
comp-codecs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
ClickHouse/ClickHouse#135159 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[raygui] update to 5.0Đang mởcategory:port-update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 2 ngày
-
difficulty:easy func:python os:windows prio:high type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NatronGitHub/Natron#2029 ·
Maintainer thường phản hồi trong vòng 1 ngày