-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add an interactive tests set #251
Description
One of the major problems of winit in general is the lack of precise API design, which in turn causes a lack of uniformity between platforms.
This can't really be solved with unit tests. If for example you want to test whether a window correctly appears, you would have to write platform-specific code in the test. Not only is it very annoying to do, but it also means that the tests wouldn't solve the problem of the lack of uniformity.
However I think we could add an interactive tests suit. The user would run a program, which spawns windows and asks the user whether some feature works, or asks the user to perform some actions like pressing a specific key or resizing the window. This program would be the same on all platforms, allowing one to quickly determine whether something works or doesn't work correctly on any given platform.