pytest-dev / pytest-dev/pytest-cpp
Issues if a test exits before xml is created
オープン
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 146
- フォーク
- 26
- 平均マージ
- 12時間 26分
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Google Test プロセスの終了後に XML 結果が読み取られる、89 行目と 106 行目付近のリンク先の行にある src/pytest_cpp/google.py を読んでください。XML が作成される前に終了するケースを再現し、結果ファイルが存在しない場合に runner が FileNotFound を発生させなくなることを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 40/100