Investigate the possibility of testing elements #351
djowel
started this conversation in
Other features
Replies: 1 comment
-
|
You might want to expose an interface that allows issuing events programatically. Eg issue a virtual click at some coordinates and verify that state changed accordingly. If rendering in well-separated from the logic it should be trivial to test correct behavior. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Testing GUIs is tricky. but nevertheless, I don't feel good without tests. Right now, I have to build the examples and inspect each one of them to make sure everything is good.
At the very least, a quick testing facility is probably something like:
It might be possible to simulate user interaction, but that can probably be done later.
Beta Was this translation helpful? Give feedback.
All reactions