how to run different test targets in same version of simulators parallel
Hi I want to run my test targets parallel in same version of simulators.Is that possible? to be more clear what I want to do is targetA -----ios 6 version 10.1 targetB------ios 6 version 10.1
It's not possible to do this in a single invocation of pxctest run-tests. What you could do is boot two simulators in a different device set path, and then run in parallel:
pxctest run-tests --deviceset /tmp/targetA --only targetA ...
pxctest run-tests --deviceset /tmp/targetB --only targetB ...
when i run this command
pxctest boot-simulators \ --deviceset /tmp/test-simulators \ --destination 'name=iPhone 5,os=iOS 9.3' \ --destination 'name=iPad Retina,os=iOS 9.3'
i get Unknown command: boot-simulators`` do i miss something?
The boot-simulators command is not released yet. This means you'd need to install via brew install pxctest --HEAD.
hi @okanerdogan84 ! I have a working python script and json file to accomplish what you are looking for, using "-only" and spawning multiple processes to divvy tests up among multiple, headless simulators, see below, let me know if you have any questions!
https://github.com/apkatsikas/xctest_pxctest_distributed