Reset iOS app in calabash-ios
问题 How to change code in hooks to reset (iOS) app at specific scenario ? means only to those scenario where tags mention as @reset 回答1: https://github.com/cucumber/cucumber/wiki/Hooks#tagged-hooks UPDATED for Calabash 0.17 and run-loop 2.0.2 This project contains an example of how to use Cucumber tags and Before hooks to re-install apps and clear application data on simulators and devices. https://github.com/calabash/ios-smoke-test-app/ In particular, see these two files: ideviceinstaller