swiftxcodexctestxcuitest

is it possible to limit parallel tests in xcuitest?


Im doing uitest, in test plan theres 'execute in parallel (if possible)' option. However this launches 5 simulator in my case, consuming all 32gb of ram (and some swap) and tests fails for unknown reasons, is it possible to limit maximum number of launched simulator clones?


Solution

  • You can reduce the number in Xcode's General Preferences. The automatic number is frequently flaky.

    screenshot of preferences