【发布时间】:2015-10-13 10:50:59
【问题描述】:
我的应用在第一次运行时用户必须进行身份验证。
我有一个带有不同标记场景的功能。现在我只需要运行几个场景,但每次运行以下命令时
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(......)
但我正在寻找一个命令或更优雅的方式来做我想做的事。
【问题讨论】:
标签: android automated-tests android-testing calabash calabash-android