[Calabash] How to run calabash android with cucumber only

凌晨12:33

[Calabash] How to run calabash android with cucumber only






Today, my colleague ask me a question : How to run calabash android just use cucumber???
And I dig the source code and found there is a way to execute by cucumber
export ADB_DEVICE_ARG=004401115636660 #this is device_id
export APP_PATH=$(ls -t built/*.apk) #this is to query apk file
export TEST_APP_PATH=$(ls -t test_servers/*.apk) #this is to query test_server

DEBUG=1 cucumber -p android
As above command, you can exeucte by cucumber

You Might Also Like

0 意見