Skip to content

Implement image comparison for visual tests #882

@SableRaf

Description

@SableRaf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions