Reporting for retries

未關閉
#75 4 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
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 小時
30 天內合併 PR
6

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

cucumber/react-components 的其他 Issue

查看 cucumber/react-components 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。