rajdeepv / parallel_calabash

Helps running calabash ios/android tests in parallel
MIT License
40 stars 19 forks source link

Distribute the test between android phone and tablet #4

Open saikrishna321 opened 9 years ago

saikrishna321 commented 9 years ago

Is it possible to distribute the test run between phone and tablet?

For example: 3 phone and 3 tablet are connected to the same machine and i want my tests to run only on phone and not on tablet as the app flow and apk is different

rajdeepv commented 9 years ago

This can probably be done if adb can identify tablets separately.

rajdeepv commented 9 years ago

This can probably be done if adb can identify tablets separately.

moshea commented 9 years ago

Have being facing a similar problem too, with a split between emulators and real devices. How about a solution, where we can provide a list of device id's that parallel calabash would run on. Another options would be a regular expression, instead of an exact list, i'll try both out and see what seems easiest to use

moshea commented 9 years ago

Check out https://github.com/rajdeepv/parallel_calabash/pull/7, it should do the trick. I've tested locally against emulators and devices, and seems to work pretty well.