Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add coarse metrics/categories for tests

Đang mở
#938 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 14 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
45/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

Hướng nghiên cứu

Start by reading the existing AST walking used to generate ENVIRONMENT.md and the test comment metadata used for // sytest: annotations. The issue suggests a separate binary, following the approach linked in issue #654. Decide how test categories and optional metadata feed the tally, then produce a report with category percentages such as “Federation :56%.”

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

Mô tả

So you can say something like "Federation :56%".

  • We can infer some of this by doing AST walking, like we do already to autogen ENVIRONMENT.md, by looking at the package names.
  • We can add a bit more detail if we allow // spec: style comment metadata to tests, like we already do with // sytest:
  • We can then automatically produce the report/tally with a separate binary, probably reusing the same separate binary approach in https://github.com/matrix-org/complement/issues/654#issuecomment-6314765798
Ngôn ngữ chính
Go
Star
101
Fork
72
Merge trung bình
11 ngày 5 giờ
Pull request đã merge (30 ngày)
7

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 matrix-org/complement

Tất cả issue của matrix-org/complement

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.