-
Notifications
You must be signed in to change notification settings - Fork 368
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
Introduce snapshot unit tests for re_component_ui
#8546
Conversation
For now, this covers the single-line read-only display in the context of a list item (both narrow and wide)
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/12416220198 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love it!
did some minor fixes/brushup, going to land it with that once ci is happy
Related
What
This PR introduces new "snapshot" unit test for
re_component_ui
. Every single component found in reflection (barring explicit exclusion) is now tested in various contexts. In this first PR, this includes:This test suite is now easy to expand by using the new helper functions, which cover pretty-printing the test results and ensuring that we don't leave "dangling" snapshots in the repo.
This PR also implements a bunch of minor UI fixes.