[BUG] Test is marked as successful even though it was not executed
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java, typescript, vscode
Hướng nghiên cứu
Tái hiện vấn đề bằng một bài kiểm thử JUnit có mục tiêu testCompile của Maven bị lỗi, sau đó truy vết cách thao tác gutter màu xanh báo cáo kết quả và ghi kết quả vào Debugging Console. Hoàn tất khi bài kiểm thử được đánh dấu là thất bại nếu quá trình biên dịch ngăn không cho thực thi, và đầu ra Maven bị lỗi được hiển thị thay vì chỉ có class-not-found stacktrace.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I have a JUnit test for which the Maven goal testCompile (belonging to the maven-compiler-plugin) fails. Nevertheless, when the test is executed using the green play button in the gutter, the green triangle becomes a green tick. Even though the Debugging Console shows that the class was not found.
In addition to marking the test as failed it would be very useful to provide the output of the failed Maven execution in the Debugging Console. That the class was not found is a consequence of the compilation failure, and this stacktrace does not help to fix the problem. The output of Maven does.
- Ngôn ngữ chính
- TypeScript
- Star
- 340
- Fork
- 173
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 18
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 microsoft/vscode-java-test
-
ai-triaged bug high-priority investigating junit maven test-discovery
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/vscode-java-test#1915 · 2 bình luận ·
-
ai-triaged bug investigating junit test-discovery test-execution
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
microsoft/vscode-java-test#1897 · 1 bình luận ·
-
ai-triaged bug gradle high-priority test-execution
microsoft/vscode-java-test#1880 · 2 bình luận · 1 người được giao ·
-
ai-triaged gradle junit test-execution ux
microsoft/vscode-java-test#1878 · 3 bình luận · 1 người được giao ·
-
ai-triaged enhancement junit low-priority test-execution ui
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/vscode-java-test#1836 · 4 bình luận ·
Tất cả issue của microsoft/vscode-java-test
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
area:tools bug good first issue help wanted priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
newrelic-experimental/preflight#793 · 1 bình luận ·
-
bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
BasedHardware/omi#15320 ·