我的应用程序在第一次运行时用户必须进行身份验证。葫芦 - 不要在启动时重新安装应用程序
我有不同的标记方案的功能。现在我只是需要运行一些情景,但我每次运行下面的命令
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(......)
,但我正在寻找一个命令或更优雅的方式做我想做什么。