cordova-plugin-calabash-ios

0.21.3 • Public • Published

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

Package Sidebar

Install

npm i cordova-plugin-calabash-ios

Weekly Downloads

1

Version

0.21.3

License

ISC

Unpacked Size

38.4 MB

Total Files

23

Last publish

Collaborators

  • paulpatarinski