zalando / SwiftMonkey

A framework for doing randomised UI testing of iOS apps
MIT License
1.95k stars 175 forks source link

Configure the length of test run #88

Closed westdorp closed 4 years ago

westdorp commented 4 years ago

Is it possible to configure how long the monkey test runs by time or event count?

wojciechczerski commented 4 years ago

Please have a look at Monkey.monkeyAround(forDuration duration: TimeInterval = .infinity). You might also be interested in Monkey.monkeyAround(iterations: Int).