Make collected pytest reports discoverable by the testcase parser

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, python

調査の方向性

Read .github/workflows/_test.yml to trace how pytest JUnit reports are produced and merged, then inspect src/extensions/score_source_code_linker/xml_parser.py around XML discovery. Check whether reports contain the source, line, and verification properties, and whether parser output creates the expected testcase needs and links without duplicate IDs across Python versions.

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

説明

The test workflow collects pytest JUnit reports named docs_bzl_<python-version>_<suite>.xml and bundles them with Bazel reports. However, the testcase parser only discovers files named test.xml, so those pytest report files are not discovered by that parser.

See the report producers and merge job and XML discovery.

Suggested approach: keep the existing test.xml convention and place pytest reports in distinct directories, for example docs-bzl/3.12/cached/test.xml and docs-bzl/3.12/runtime/test.xml.

Please verify:

  • pytest JUnit output includes the source file, line and verification properties needed for testcase/requirement links;
  • reports are actually discovered and the expected testcase needs and links are generated;
  • repeated runs of the same testcase across Python versions do not create duplicate need IDs. Select a representative version or define deduplication explicitly.

Changing filenames alone does not guarantee correct traceability; verify the parser output as well.

主要言語
Python
スター
11
フォーク
39
平均マージ
1日 13時間
マージ済み PR(30日)
46

環境構築

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 を短くまとめたダイジェスト。