Run unit tests in parallel processes/simulators

Originator:ash
Number:rdar://34875762 Date Originated:8/10/2017
Status:Closed as dupe (10185192) Resolved:
Product: Product Version:
Classification: Reproducible:
 
It would be really great if we could speed up unit test execution by parallelizing execution across simulators or processes. Most of my tests don't even touch globals like the main UIApplication or then key window, so it's definitely possible. Running a test suite on a non-complicated app right now can take minutes, but Apple has the ability to lower that time to mere seconds through aggressive caching and dependency resolution (to determine which tests can be run in parallel). Developers don't run tests when the test runs take too long, and the quality of their apps subsequently suffers. Apple has the opportunity to improve the developer experience and the quality of iOS software by drastically improving test run time.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!