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
One of the biggest problems we have in testing at the moment is that we cannot mock Rust side objects, both because they're not using protocols throughout and because they're not open.
Following the great work @jmartinesp did here we would like to make something similar available to swift developers. We should then be able to unit test more complex services layer files like the RoomTimelineItemFactory and RoomSummaryProvider
The text was updated successfully, but these errors were encountered:
draft matrix-rust-sdk PR, which updates the Swift xtask to generate mocks when building the framework
draft element-x-ios PR, which updates the BuildSDK tool and adds some unit tests for ClientProxy that demonstrate how to use the generated Swift mocks.
One of the biggest problems we have in testing at the moment is that we cannot mock Rust side objects, both because they're not using protocols throughout and because they're not open.
Following the great work @jmartinesp did here we would like to make something similar available to swift developers. We should then be able to unit test more complex services layer files like the
RoomTimelineItemFactory
andRoomSummaryProvider
The text was updated successfully, but these errors were encountered: