packs test: options that fail the run below a stated coverage or on an unprobed boundary

Đang mở
#388 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
cli, testing

Hướng nghiên cứu

Start by locating the packs test command, its matrix coverage report, derived boundary probes, and the tests that verify its exit status and JSON output. Add tests for each requested option at, above, and below the stated level, plus the unwitnessed-probe case. Done means the options enforce their requirements and report failures in JSON, while runs without them keep the existing output and exit status.

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

Mô tả

enhancement

Observed. jpack packs test prints the matrix coverage report and the derived boundary probes, and neither changes the exit status: with a passing matrix and unwitnessed probes the command exits 0. A build cannot require a coverage level.

Ask. Opt-in options on packs test that make the run fail when coverage is below a stated level and when a derived boundary probe has no witnessing row. Without the options the behaviour and the output are unchanged. The JSON output says which requirement failed.

Acceptance. Tests for each option at, above and below the level; unchanged output and exit status without them.

Ngôn ngữ chính
Go
Star
2
Fork
6
Merge trung bình
2 giờ 1 phút
Pull request đã merge (30 ngày)
69

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Judgment-Pack/judgment-pack-runtime

Tất cả issue của Judgment-Pack/judgment-pack-runtime

Issue tương tự

Thêm issue về Go

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.