egui/crates/egui_kittest/tests
lucasmerlin b8051cc301
Add `SnapshotResults` struct to egui_kittest (#5672)
I got annoyed by all the slightly different variations of "collect
snapshot results and unwrap them at the end of test" I've written, so I
added a struct to make this nice and simple.

One controversial thing: It panics when dropped. I wanted to ensure
people cannot forget to unwrap the results at the end, and this was the
best thing I could come up with. I don't think this is possible via
clippy lint or something like that.

* [x] I have followed the instructions in the PR template
2025-02-04 14:01:32 +01:00
..
snapshots Improve tessellation quality (#5669) 2025-02-04 11:30:12 +01:00
accesskit.rs Move egui tests to avoid cyclic dependency 2024-12-16 18:10:01 +01:00
regression_tests.rs Add `SnapshotResults` struct to egui_kittest (#5672) 2025-02-04 14:01:32 +01:00
tests.rs Add `SnapshotResults` struct to egui_kittest (#5672) 2025-02-04 14:01:32 +01:00