1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00

Add kittest.toml config file (#7643)

* part of https://github.com/rerun-io/rerun/issues/10991

---------

Co-authored-by: lucasmerlin <8009393+lucasmerlin@users.noreply.github.com>
This commit is contained in:
Lucas Meurer
2025-11-25 14:51:18 +01:00
committed by GitHub
parent 8b8595b45b
commit a19629ef4a
9 changed files with 273 additions and 17 deletions

10
kittest.toml Normal file
View File

@@ -0,0 +1,10 @@
output_path = "tests/snapshots"
# Other OSes get a higher threshold so they can still run tests locally without failures due to small rendering
# differences.
# To update snapshots, update them via ./scripts/update_snapshots_from_ci.sh or via kitdiff
threshold = 2.0
[mac]
# Since our CI runs snapshot tests on macOS, this is our source of truth.
threshold = 0.6