The number tests shown in metrics.json seems wrong

Đang mở
#991 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
56/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
json, python
Lĩnh vực
tooling

Hướng nghiên cứu

Find the code that generates metrics.json and trace how it counts tests. Start by checking whether the count reads test logs from prior runs as well as the current run. Update the count to reflect the intended test total, then verify that the reported value no longer includes stale logs.

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

Mô tả

Description

The metrics.json file includes the number of tests.
Example: https://eclipse-score.github.io/lifecycle/main/metrics.json

  "tests": {
    "total": 825,
    "linked_to_requirements": 21,
    "linked_to_requirements_pct": 2.5454545454545454,
    "broken_references": []
  },

However this number seems to be not the actual number of tests, but counts the test logs that are present on the machine - which includes many test logs from earlier runs.

Problem notifications

No response

Analysis results

No response

Solution

No response

Error Occurrence Rate

None

How to reproduce

No response

Supporting Information

No response

Classification

Minor

First Affected Release

not released (main)

Last Affected Release

not released (main)

Expected Fixed Release

before release (main)

Category
  • Safety Relevant
  • Security Relevant
Ngôn ngữ chính
Python
Star
11
Fork
39
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
65

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 eclipse-score/docs-as-code

Tất cả issue của eclipse-score/docs-as-code

Issue tương tự

Thêm issue về Python

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.