Parallel swift testing on multiple ios simulators

Due to massive amount of shared state in my project I cannot really use swift testing parallelization in my tests, so my idea was to embed all suites into single one with .serialized and then run them on several simulators to speed up the tests. I ran tests with xcodebuild ... -parallel-testing-enabled YES -parallel-testing-worker-count 2, but swift testing suites seemed to be executed on just one simulator. Is it possible to run swift testing tests in parallel on multiple iOS simulators, but serially within each of them? Or the only way is xctest?

Answered by Engineer in 899068022

Thanks for the question @maveric94, but unfortunately xcodebuild and Swift Testing do not currently support multi-process parallelization. I can understand the potential benefit of that functionality, so I'd encourage you to file a Feedback about this.

Thanks for the question @maveric94, but unfortunately xcodebuild and Swift Testing do not currently support multi-process parallelization. I can understand the potential benefit of that functionality, so I'd encourage you to file a Feedback about this.

Parallel swift testing on multiple ios simulators
 
 
Q