Make collected pytest reports discoverable by the testcase parser
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github-actions, python
- 领域
- documentation, testing
调研方向
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 小时
- 30 天内合并 PR
- 46
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-score/docs-as-code 的其他 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 82/100
eclipse-score/docs-as-code#1031 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
eclipse-score/docs-as-code#1029 ·
维护者通常 1 天内回复
-
intentionally-limited
难度 1/5 1 小时以内 新手友好度 88/100
eclipse-score/docs-as-code#1019 ·
维护者通常 1 天内回复
-
Graph-check unit tests fail under direct pytest because logger fixtures assume Bazel runfiles可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
eclipse-score/docs-as-code#999 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
eclipse-score/docs-as-code#920 · 2 条评论 ·
维护者通常 1 天内回复
查看 eclipse-score/docs-as-code 的全部 Issue
相似的 Issue
-
cli good first issue help wanted python up-for-grabs
难度 2/5 1-3 小时 新手友好度 75/100
andrewsiah/agentswarm-data-tasks#36 ·
维护者通常 1 天内回复
-
bug drawing-tools
难度 2/5 1-3 小时 新手友好度 76/100
cofade/open-garden-planner#827 ·
维护者通常 1 天内回复
-
Methodology page未关闭documentation site texts
难度 2/5 1-3 小时 新手友好度 67/100
Krasnopjorovs/temet#66 ·
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复