rerun icon indicating copy to clipboard operation
rerun copied to clipboard

Screenshot comparison tests

Open abey79 opened this issue 1 year ago • 1 comments

Snapshot tests (aka comparing screenshots to a stored reference) are great to catch regression of all sorts and we should have them.

For it to be convenient, we'd need at least:

  • a way to create/test them headless on CI, ideally on all runner architectures (Linux/Mac/Windows)—but any would do for starters
  • a way to highlight differences between the reference and actual that is easily accessible also for CI jobs
  • an easy way to update the snapshots when they break due to changes/new features
  • a way to store the snapshots that doesn't clutter the git repo (vello apparently uses git-lfs: https://github.com/linebender/vello/pull/610)

Related

  • https://github.com/rerun-io/rerun/issues/2255

abey79 avatar Aug 26 '24 07:08 abey79

(renamed ticket because we already have "snapshot tests" using the "insta" framework)

Wumpf avatar Sep 09 '24 09:09 Wumpf

Done

emilk avatar Nov 29 '24 11:11 emilk