mekgsg
Last Updated: December 06, 2016
·
554
· plu
Comic

Execute tests in parallel on multiple iOS Simulators

It's easy to run tests in parallel on multiple Simulators using pxctest.

screencast.gif

Example

xcodebuild -scheme KIF \
  -IDEBuildLocationStyle=Custom \
  -IDECustomBuildLocationType=Absolute \
  -IDECustomBuildProductsPath="$PWD/build/Products" \
  -destination "platform=iOS Simulator,name=iPhone 5" \
  build-for-testing

pxctest run-tests \
  --testrun $PWD/build/Products/KIF_iphonesimulator*.xctestrun \
  --destination "name=iPhone 5" \
  --destination "name=iPad Retina"
Say Thanks
Respond