Testing
TestRender
Render a component headlessly for unit tests.
TestRender mounts a component without opening a Fyne window. It resolves
nested components (including Viewables and Define closures) and returns a
tree you can query and interact with.
Test options
WithStore pre-provides a store on the test scope so components that
UseStore can read a known initial value.