plu / pxctest

Execute tests in parallel on multiple iOS Simulators
MIT License
800 stars 57 forks source link

Use pxctest to create simulators #17

Closed davetobin closed 7 years ago

davetobin commented 7 years ago

Is it possible to create simulators in a specific location, e.g. --deviceset /tmp/test-simulators, without booting them in a headless state using boot-simulators?

I would like to be able to create simulators, then "run-tests" and delete the simulators once testing has completed.

Currently, I can use boot-simulators but am forced to run in a headless state using this.

plu commented 7 years ago

I recommend looking into fbsimctl for your use case.

plu commented 7 years ago

Or even xcrun simctl.

davetobin commented 7 years ago

@plu Thanks, I just liked the simplicity of specifying the deviceset in your boot-simulators command so I wanted to check if it was possible for run-tests or a different command to create them in the same way.

plu commented 7 years ago

By the way: run-tests will create and boot them, if necessary, it also supports --deviceset

davetobin commented 7 years ago

Great, it wasn't working for me so I thought it wasn't supported to work in the same way but a reboot sorted it for me. I'll close this. Cheers.