我正在使用原生的XCTest框架对iOS的UI元素进行单元测试。我发现的局限性是,我们 无法测试屏幕上UI对象的对齐方式. 有没有什么第三方框架可以帮助实现这个功能。请分享。谢谢!
最好的选择是 EarlGrey
或者你可以尝试 Appium
:https:/www2.smartbear.combitbar-初学者指南-appium-mobile-app-testing.html。
或者你可以尝试 Detox
:https:/bitbar.comlogautomate-detox-mobile-tests-onreal-devices-in-the-cloud。
或者你可以尝试 Calabash
:https:/www2.smartbear.combitbar-calabash-101.html。