我的應用程序在第一次運行時用戶必須進行身份驗證。葫蘆 - 不要在啓動時重新安裝應用程序
我有不同的標記方案的功能。現在我只是需要運行一些情景,但我每次運行下面的命令
calabash-android run /path/to/apk features/my.feature --tags @Alert
我的應用程序被重新安裝這將導致測試失敗對我的@Alert場景。我如何告訴葫蘆不要重新安裝應用程序?
從谷歌上搜索周圍,我發現this它說:
Go to app_installation_hooks.rb file under support folder and comment out following 3 lines:
uninstall_apps
install_app(......)
install_app(......)
,但我正在尋找一個命令或更優雅的方式做我想做什麼。