processing / processing/processing4

Implement image comparison for visual tests

未关闭
#882 7 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

help wanted
主要语言
Java
星标
494
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

Implement a visual snapshot testing system, inspired by the one used in p5.js.

[!NOTE]
This has been added to our pr05 2025 project list.

Goals
  • Develop a visual snapshot testing framework for Processing.
  • Automate image comparisons using pixel matching (e.g., image-comparison).
  • Integrate the testing system into GitHub workflows.
  • Port existing p5.js snapshot tests and develop new ones for Processing’s Java environment.
Motivation

This will benefit both the Processing community and its future contributors by providing a reliable way to catch visual regressions, making it easier for contributors to propose changes with confidence.

References

Read more about the p5.js approach in the documentation and this contributor blog post.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先阅读所引用的 p5.js 视觉测试文档并检查图像比较项目,然后检查 Processing 现有的 GitHub 工作流和当前的快照测试。完成的标准是:Processing 已有视觉快照框架,像素比较和工作流集成已实现自动化,并且相关的 p5.js 测试已完成移植,或已添加新的 Java 测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, java
领域
ci-cd, testing
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。