Run unit tests in parallel processes/simulators

Originator:weyert
Number:rdar://34882035 Date Originated:09-Oct-2017 11:31 am
Status:Open Resolved:
Product:iOS + SDK Product Version:
Classification:Security Reproducible:Always
 
Summary:
This is a duplicate of radar #34875762

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.


Steps to Reproduce:
 

Expected Results:
 

Actual Results:
 

Version:
 

Notes:

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!