bazel-contrib / bazel-contrib/rules_python

Python coverage

Đang mở
#2,248 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
need: repro
Ngôn ngữ chính
Starlark
Star
688
Fork
721
Merge trung bình
15 giờ 7 phút
Pull request đã merge (30 ngày)
76

Mô tả

Upgrading rules_python in Bazel and running tests again version 0.36.0 showed problems with coverage support.

To reproduce run `bazel test //src/test/shell/bazel:bazel_coverage_hermetic_py_test` from Bazel repository. It fails saying the test has failed, but this previously with builtin Python rules wasn't the case.

I went down the rabbit hole, but I couldn't figure it out. I think that this test should be moved out of Bazel into rules_python, if it isn't already.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Reproduce the failure with `bazel test //src/test/shell/bazel:bazel_coverage_hermetic_py_test` from the Bazel repository. Read the existing coverage test and rules_python coverage support to determine whether the test belongs here or in rules_python. Done means the test has a clear home and the coverage behavior no longer reports the unexpected failure.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
build-system, testing
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.