pytest-dev / pytest-dev/pytest-cpp

Issues if a test exits before xml is created

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

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

主要言語
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。