Skip to content

Android screenshot tests#2809

Open
richardTingle wants to merge 122 commits into
jMonkeyEngine:masterfrom
richardTingle:android-screenshot-tests-2
Open

Android screenshot tests#2809
richardTingle wants to merge 122 commits into
jMonkeyEngine:masterfrom
richardTingle:android-screenshot-tests-2

Conversation

@richardTingle
Copy link
Copy Markdown
Member

@richardTingle richardTingle commented May 25, 2026

  • Allow a subset of the screenshot tests to be run on Android (a subset because some are too heavy and cause out of memory errors on the emulated android)

  • Extent reports doesn't work on Android so creates a proto report within android and later upgrades that to a proper report within the pipeline

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 25, 2026

🖼️ Screenshot tests have failed.

The purpose of these tests is to ensure that changes introduced in this PR don't break visual features. They are visual unit tests.

📄 Where to find the report:

⚠️ If you didn't expect to change anything visual:
Fix your changes so the screenshot tests pass.

If you did mean to change things:
Review the replacement images in jme3-screenshot-tests/build/changed-images to make sure they really are improvements and then replace and commit the replacement images at jme3-screenshot-tests/src/test/resources.

If you are creating entirely new tests:
Find the new images in jme3-screenshot-tests/build/changed-images and commit the new images at jme3-screenshot-tests/src/test/resources.

Note; it is very important that the committed reference images are created on the build pipeline, locally created images are not reliable. Similarly tests will fail locally but you can look at the report to check they are "visually similar".

See https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-screenshot-tests/README.md for more information

Contact @richardTingle (aka richtea) for guidance if required

@richardTingle richardTingle changed the title Android screenshot tests 2 Android screenshot tests Jun 5, 2026
@richardTingle richardTingle marked this pull request as ready for review June 6, 2026 12:32
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.

1 participant