Reporting for retries

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react, typescript

調査の方向性

まず、--retry のデータが HTML および JSON formatter にどのように届くかを追跡します。この issue ではファイルもテストも指定されていません。完了条件は、両方のレポートが retry が発生したことを示し、失敗した試行回数を公開することです。

索引モデルが issue の本文から書いたものです。

説明

:zap: enhancement

Is your feature request related to a problem? Please describe.
Cucumber report(html, json formatter) doesn't include retried details when using --retry.

When we use --retry, report will mark the flaky test pass if there is one retry get pass. That is working as expected. However, if we can also add some details of retry in the report, e.g show the number of failed attempt, that will help us to find potential intermittent bugs, instead of hiding bugs.

The idea is coming from https://automationpanda.com/2021/06/14/are-automated-test-retries-good-or-bad/

Describe the solution you'd like
Something on the report to indicate there are retry attempts happened. Like the number of failed attempt. A example:
specflow-report

主要言語
TypeScript
スター
39
フォーク
13
平均マージ
1日 10時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cucumber/react-components のほかの issue

cucumber/react-components の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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