Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate build failures (golden & delta) even if golden images are not present #1827

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SimonMarquis
Copy link
Contributor

This is the 2nd PR to finally close #1716.

Also relates to:

since this still requires the presence of the src/test/snapshots/images input to work.

…t present

This is the 2nd PR to finally close cashapp#1716.

Also relates to:
- cashapp#1692
- cashapp#1695

since this still requires the presence of the `src/test/snapshots/images` input to work.
@SimonMarquis
Copy link
Contributor Author

SimonMarquis commented Feb 8, 2025

This solution relies on creating a fake/stub BufferedImage to allow the comparison process to kick in. I would have preferred an empty (0*0) image but this is not allowed by the class. And using a 1*1px image makes it weirder than replicating the same image with null pixels.

Copy link
Collaborator

@geoff-powell geoff-powell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes sense

cc @jrodbx @gamepro65 @nak5ive @BrianGardnerAtl
for thoughts here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Golden images in /build/paparazzi/failures are not stored in some error cases
2 participants