How to speed up UI test cases in Xcode?

前端 未结 7 1666
自闭症患者
自闭症患者 2020-12-13 14:29

Since Xcode 7 we have a nice API for UI testing. Mostly I\'m satisfied with it. The only concern is related to the speed.

In the beginning an ordina

7条回答
  •  情深已故
    2020-12-13 15:11

    Add it in didFinishLaunch

    [UIApplication sharedApplication].keyWindow.layer.speed = 2;
    

    The default value is 1, make it 2 to double its speed.

提交回复
热议问题