The number tests shown in metrics.json seems wrong

オープン
#991 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
56/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
json, python
領域
tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Python
スター
11
フォーク
39
平均マージ
1日 13時間
マージ済み PR(30日)
65

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-score/docs-as-code のほかの issue

eclipse-score/docs-as-code の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。