Test your Cordova based apps with Calabash iOS.
Usage
Add the plugin to your project
cordova plugin add https://github.com/paulpatarinski/Cordova-Calabash-iOS-Plugin
Edit www/js/index.js
and add the following code inside onDeviceReady
ifwindowcalabash var { console; } var { console; } calabashstartsuccess failure;
Steps to Upgrade Calabash
- Install the gem
gem install calabash-cucumber -v 0.21.2
- Unzip the framework
/Users/mobileappcreator/.rvm/gems/ruby-2.4.1/gems/calabash-cucumber-0.21.2/staticlib/calabash.framework.zip
- Copy/Replace the files
From :
/Users/mobileappcreator/.rvm/gems/ruby-2.4.1/gems/calabash-cucumber-0.21.2/staticlib/calabash.framework/Versions/A
To :
/Users/mobileappcreator/WIP/Cordova-Calabash-iOS-Plugin/src/ios/Frameworks/calabash.framework