Do tests really use images from 'ReferenceOutput' folder?
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Start by running the PNG encoder tests after deleting ReferenceOutput/PngEncoderTests, then trace how those tests obtain their expected outputs. Done means establishing whether the folder is used and documenting or correcting the test setup so the tests behave as intended.
由索引模型根據 Issue 內容生成。
描述
Prerequisites
- I have written a descriptive issue title
- I have verified that I am running the latest version of ImageSharp
- I have verified if the problem exist in both
DEBUGandRELEASEmode - I have searched open and closed issues to ensure it has not already been reported
ImageSharp version
main branch
Other ImageSharp packages and versions
None
Environment (Operating system, version and so on)
Windows 10
.NET Framework version
net6
Description
I was writing tests for jpeg encoder PR and looked at the tests which compare saved images to reference images from 'ReferenceOutput' folder. Thing is, I don't see anything related to that folder in test code. Just to be sure I've deleted 'ReferenceOutput/PngEncoderTests' folder and all of png encoder tests still pass.
Most likely I've missed something but I just can't see any connections to this folder in test code.
Steps to Reproduce
Delete 'ReferenceOutput/PngEncoderTests' folder and launch png tests.
Images
No response
- 主要語言
- C#
- 星號
- 8.1k
- 分支
- 913
- 平均合併
- 1 天 30 分鐘
- 30 天內合併 PR
- 29
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
SixLabors/ImageSharp 的其他 Issue
-
needs triage
難度 4/5 3-5 天 新手友好度 50/100
SixLabors/ImageSharp#3273 ·
維護者通常 1 天內回覆
-
formats:exr
難度 5/5 一週以上 新手友好度 35/100
SixLabors/ImageSharp#3116 · 2 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
JpegImageFormatDetector IsJfif and IsExif checks are not needed as IsJpeg is always true for valid JPEG files.可能已有人在做 @EnesKartal 於 5 天前認領。 未關閉needs triage
難度 2/5 1-3 小時 新手友好度 52/100
SixLabors/ImageSharp#2805 · 1 則留言 ·
維護者通常 1 天內回覆
-
needs triage
難度 4/5 3-5 天 新手友好度 35/100
SixLabors/ImageSharp#2665 · 2 則留言 ·
維護者通常 1 天內回覆
-
needs triage unit tests
難度 4/5 3-5 天 新手友好度 35/100
SixLabors/ImageSharp#1550 ·
維護者通常 1 天內回覆
查看 SixLabors/ImageSharp 的全部 Issue
相似的 Issue
-
agentic-workflows
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
good first issue help wanted
難度 2/5 1-3 小時 新手友好度 92/100
erkamyaman/rust-anything#943 ·
維護者通常 1 天內回覆
-
priority:P2
難度 2/5 1-3 小時 新手友好度 85/100
-
難度 2/5 1-3 小時 新手友好度 78/100
SixLabors/ImageSharp.Drawing#438 · 1 則留言 ·
-
bug
難度 2/5 1-3 小時 新手友好度 82/100