plotly / plotly/Plotly.NET

Image comparing tests for ImageExport

未關閉
#317 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

Area: ImageExport help wanted
主要語言
F#
星號
860
分支
99
平均合併
22 分鐘
30 天內合併 PR
1

描述

There's Plotly.NET.Export which exports images, for example, into base64. However testing it on exact matches doesn't work well, after all, there are multiple ways the same image can be encoded with jpg or png.

So the idea here is to convert it to an image and compare pixel by pixel against a model one. If the deviation on average isn't big, then the test is considered to pass.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

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

研究方向

先定位 Plotly.NET.Export 和現有的圖像匯出測試。了解匯出的 base64 圖像如何解碼,然後確定如何使用平均偏差閾值逐像素比較參考圖像。完成的標準是圖像匯出測試接受等效編碼,同時偵測出有意義的視覺差異。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
fsharp
領域
data-visualization, testing-qa
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

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

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