functions
TestWidget| modified | Sunday 25 January 2026 |
|---|
Category: Utilities
File: testing_helpers.go
Package: ui
1func TestWidget(t *testing.T, name string, widget W)
TestWidget runs a visual regression test for a widget
If UPDATE_GOLDEN=1 environment variable is set, updates the golden image
No examples available yet. See the test files for usage.
To add an example for this function, create an ExampleTestWidget function in the test files.
This documentation is auto-generated. To update, run make docs