Open notgull opened 8 months ago
I wouldn't recommend automated testing with Redox at this point, though it can be done with redoxer
.
From what I know, there's basically no way for non-macOS systems to run tests on macOS/iOS, not even in a virtual machine.
If we restrict this to "testing those platforms only work on macOS", then I think either using the XCTest framework and integrating with Xcode, or using some external tool to monitor the external state of the window, perhaps using AppleScript, would be the way forwards? Though I haven't researched this nearly enough.
On the
it
branch, I've added an X11 backend that runs the tests in a Docker container. We should add other backends as well to matchwinit
's backends.See https://github.com/rust-windowing/winit/issues/2866 for top-level issue about integration testing.