processing/processing4

Implement image comparison for visual tests

Open

#882 aperta il 13 dic 2024

Vedi su GitHub
 (7 commenti) (1 reazione) (0 assegnatari)Java (176 fork)auto 404
help wanted

Metriche repository

Star
 (439 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor