pytest-dev / pytest-dev/pytest-cpp
Issues if a test exits before xml is created
未关闭
还没有人认领这个 Issue。
- 主要语言
- C++
- 星标
- 146
- 派生
- 26
- 平均合并
- 12 小时 26 分钟
- 30 天内合并 PR
- 1
描述
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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读 src/pytest_cpp/google.py 中 89 和 106 附近的链接行,XML 结果会在 Google Test 进程退出后于此处读取。重现 XML 创建之前退出的情况,并确保结果文件不存在时 runner 不再引发 FileNotFound 错误。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp
- 领域
- testing-qa
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 40/100