0.21.3 • Published 6 years ago

cordova-plugin-calabash-ios v0.21.3

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

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

if(window.calabash){
    var success = function() {
        console.log("Calabash Server started");
    }

    var failure = function() {
        console.log("Error starting Calabash Server");
    }

    calabash.start(success, failure);
}

Steps to Upgrade Calabash

  1. Install the gem
gem install calabash-cucumber -v 0.21.2
  1. Unzip the framework
/Users/mobileappcreator/.rvm/gems/ruby-2.4.1/gems/calabash-cucumber-0.21.2/staticlib/calabash.framework.zip
  1. 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