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

Add egui_kittest, a test harness for egui #5166

Merged
merged 47 commits into from
Oct 22, 2024
Merged
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
c50394a
Add egui testing library
lucasmerlin Sep 24, 2024
d5dedba
Improved usability
lucasmerlin Sep 25, 2024
608e4df
Rename and move kittest to external crate
lucasmerlin Sep 25, 2024
6f2691f
Enable git lfs for snapshots files
lucasmerlin Sep 25, 2024
e791a74
Add widget_gallery.png
lucasmerlin Sep 25, 2024
0853a52
Fix Cargo.toml formatting
lucasmerlin Sep 25, 2024
661bc3e
Add snapshot tests for all demos
lucasmerlin Sep 25, 2024
87cdb17
Move demo snapshots
lucasmerlin Sep 26, 2024
ee3e766
Update kittest
lucasmerlin Sep 26, 2024
e63ffa3
Add text_edit.rs test and fix ime input
lucasmerlin Sep 28, 2024
bba834b
Typo
lucasmerlin Sep 28, 2024
b2db13d
Run tests with gpu
lucasmerlin Sep 28, 2024
94d0b84
Improve snapshot error
lucasmerlin Sep 28, 2024
f26e98d
Test if snapshots fail in ci
lucasmerlin Sep 28, 2024
02f734c
Update dify
lucasmerlin Oct 4, 2024
80381ab
Fix lints
lucasmerlin Oct 4, 2024
7cbf557
Try if tests fail on style change
lucasmerlin Oct 4, 2024
d478162
Upload snapshots as artifacts
lucasmerlin Oct 4, 2024
10c0767
Fail tests on missing snapshot
lucasmerlin Oct 4, 2024
b4f7129
Checkout with lfs
lucasmerlin Oct 4, 2024
b00315b
Always upload artifacts
lucasmerlin Oct 4, 2024
2ac2d85
Update dify
lucasmerlin Oct 4, 2024
d7b874e
"un-break" tests
lucasmerlin Oct 4, 2024
66a6c00
Fix lint
lucasmerlin Oct 4, 2024
e0d8263
Always run egui_demo_lib tests with chrono feature
lucasmerlin Oct 5, 2024
e1a8196
Add Harness::builder and add README.md
lucasmerlin Oct 5, 2024
a5994d8
Add documentation
lucasmerlin Oct 5, 2024
dcdc601
Fixes after rebase
lucasmerlin Oct 5, 2024
76aa7ad
Fixes tests after rebase (where do those dots come from?)
lucasmerlin Oct 5, 2024
da32e8c
Checkout lfs
lucasmerlin Oct 5, 2024
d0a307d
Only run tests on macos
lucasmerlin Oct 9, 2024
0d4cebf
Set fixed date in widget_gallery test
lucasmerlin Oct 9, 2024
84977aa
Fix doc
lucasmerlin Oct 9, 2024
2d411a8
Fix deny
lucasmerlin Oct 9, 2024
cac6db8
Fix doc tests
lucasmerlin Oct 9, 2024
311d447
Refactor events and impl debug for Harness
lucasmerlin Oct 10, 2024
ddf79ce
Use kittest from main
lucasmerlin Oct 11, 2024
148e79a
Review changes
lucasmerlin Oct 12, 2024
24f29d6
Remember mouse position
lucasmerlin Oct 12, 2024
27414ea
Add comment about threshold and for the SnapshotError variants
lucasmerlin Oct 12, 2024
b2fe731
Improved snapshot error handling
lucasmerlin Oct 12, 2024
554fc57
Rename texture_to_bytes
lucasmerlin Oct 12, 2024
97ecb25
Round screen size
lucasmerlin Oct 12, 2024
c9d1bea
Add step function
lucasmerlin Oct 12, 2024
2b1fafa
Add more convenient snapshot api, allow reusing the TestRenderer and …
lucasmerlin Oct 12, 2024
df24f74
lints
lucasmerlin Oct 12, 2024
e824e01
Update example snapshot
lucasmerlin Oct 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add egui testing library
lucasmerlin committed Oct 5, 2024
commit c50394a437249eabf4f8f819ddf4b19f513c6850
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -6,3 +6,5 @@
/.vscode
/media/*
.idea/
**/tests/snapshots/*.new.png
**/tests/snapshots/*.diff.png
Loading