You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
winit is for all intents and purposes tested either by hand or in prod. We should have integration tests run in CI to make sure that there aren't any regressions in our code, as well as to reduce the burden on maintainers to test the code.
The X11 backend can be tested using xvfb, and Windows generally doesn't have an issue with running heedlessly. Android can be tested using the Android virtual device that comes with the Linux image and iOS can be tested via the iOS simulator on the macOS image. Web should also be pretty easy to test with a headless browser. I'm not so sure about the other platforms.
The text was updated successfully, but these errors were encountered:
I'm not sure what exactly is possible to simulate on other backends in CI, but for Web you can use WebDriver to basically do everything. I've used fantoccini with great success in the past.
I think it would be nice to potentially integrate stuff like that into winit-test?
winit
is for all intents and purposes tested either by hand or in prod. We should have integration tests run in CI to make sure that there aren't any regressions in our code, as well as to reduce the burden on maintainers to test the code.The X11 backend can be tested using
xvfb
, and Windows generally doesn't have an issue with running heedlessly. Android can be tested using the Android virtual device that comes with the Linux image and iOS can be tested via the iOS simulator on the macOS image. Web should also be pretty easy to test with a headless browser. I'm not so sure about the other platforms.The text was updated successfully, but these errors were encountered: