- In a terminal, go to your iOS project
cd path-to-my-ios-project(i.e. directory containing .xcodeproj file)
- Install calabash-cucumber gem (this make take some time because of dependencies)
gem install calabash-cucumber- (Note you may need to run
sudo gem install calabash-cucumberif you get ERROR: While executing gem ... (Gem::FilePermissionError)).
- Setup your project for Calabash-iOS.
calabash-ios setup(Answer the questions and read the output :)
- Generate a skeleton features folder for your tests
calabash-ios gen(this also copies the scripts irb_iosX.sh for "interactive development" into your current dir)
- In Xcode, build your project using the -cal scheme
- Run the generated test!
cucumber
Tuesday, 16 April 2013
UI testing for IOS (calabash ios)
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment