Thursday, January 12, 2012

Android testing with ant

When running android tests using ant, you can specify a specific device to run the tests on when you have more than 1 device available to adb on your system. The property is: adb.device.arg so you can do:

ant -Dadb.device.arg="-s emulator-5554"

Or even better use a script like this gist.



No comments:

Post a Comment