GithubHelp home page GithubHelp logo

caztial / docker-calabash-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sayonetech/docker-calabash-android

0.0 2.0 0.0 1 KB

Calabash test environment for android applications on docker

docker-calabash-android's Introduction

Calabash test environment for android applications on docker

Calabash is an acceptance testing tool for android and IOS applications. The requied packages will be installed by building an image from the Docker file. And the packages are listed below.

  • Java openjdk 7
  • Android-sdk_r24.4.1
  • Calabash-android
  • Ruby 2.3.0

Installation

You need docker installed globally:

$ git clone [git-repo-url] calabash-android
$ docker build -t <image name as you wish> .
  
"Make sure that the "." is not missing when you buid the image"

$ docker run --name <container name> -i <image name>
"The parameters can be varied according to the environments"

Fixing keystore related issues after set up

After setting up the container the keystore related issues ma raise. The following steps will help to fix the issue

  • Navigate to /.android directory .
  • Remove the existing debug.keystore file in case one exist
  • Apply the command
$keytool -genkey -v -keystore debug.keystore -alias androiddebugkey -storepass android -keypass android -keyalg RSA -keysize 2048 -validity 10000
  • Following that navigate to the directory where the feature files exist and setup the calabash android by using the command
$ calabash-android setup
  • The resign the new debug.keystore file using the command
$ calabash-android resign <apk path>
  • And finally run the test by using the command
$ calabash-android run <apk path>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.