Calabash how to speed up execution time -


i have android device connected pc. running calabash test use following command:

calabash-android run <name>.apk features/<name>.feature 

now before running feature calabash uploads application again witch takes time.

how can disable this?

any appreciated!

thank you!

you can control reinstallation of app using hooks file. contains cucumber hooks before , after scenario. if didn't make hooks file running it's 1 sample project.

the bit you're looking 'reinstall_apps' command. if remove app won't ever reinstalled, can bad thing it's necessary reset app completely. way handle tag features want app reinstalled @reinstall_app ,

before |scenario|   puts "starting scenario - #{scenario.name}"   reinstall_app if scenario.source_tag_names.include?('@reinstall_app'))   ... end 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -