Issues if a test exits before xml is created
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 40/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cpp
- 领域
- testing-qa
调研方向
首先阅读 src/pytest_cpp/google.py 中 89 和 106 附近的链接行,XML 结果会在 Google Test 进程退出后于此处读取。重现 XML 创建之前退出的情况,并确保结果文件不存在时 runner 不再引发 FileNotFound 错误。
由索引模型根据 Issue 内容生成。
描述
If for any reason a google test exits with exit(1) or before the test ends, code will still try to read the xml file, but since it doesn't exists a FileNotFound exception is raised.
https://github.com/pytest-dev/pytest-cpp/blob/master/src/pytest_cpp/google.py#L89
https://github.com/pytest-dev/pytest-cpp/blob/master/src/pytest_cpp/google.py#L106
- 主要语言
- C++
- 星标
- 146
- 派生
- 26
- 平均合并
- 12 小时 26 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pytest-dev/pytest-cpp 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
pytest-dev/pytest-cpp#156 · 1 条评论 ·
-
enhancement help wanted
pytest-dev/pytest-cpp#40 · 3 条评论 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 35/100
pytest-dev/pytest-cpp#20 · 5 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
pytest-dev/pytest-cpp#9 · 1 条评论 ·
查看 pytest-dev/pytest-cpp 的全部 Issue
相似的 Issue
-
ai_reviewed
难度 2/5 1-3 小时 新手友好度 68/100
ydb-platform/ydb#53869 · 3 条评论 ·
-
bug cert blocker needs triage
难度 2/5 1-3 小时 新手友好度 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
难度 2/5 1-3 小时 新手友好度 75/100
conan-io/conan-center-index#31035 ·
-
Bug
难度 2/5 1-3 小时 新手友好度 68/100
-
documentation
难度 1/5 1 小时以内 新手友好度 85/100
vllm-project/vllm-ascend#17329 ·