GithubHelp home page GithubHelp logo

oraziocw / ios-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blinkboxbooks/ios-test

0.0 2.0 0.0 236 KB

Cucumber and Calabash tests for the blinkbox Books iOS app.

License: MIT License

Ruby 92.62% Shell 1.60% AppleScript 5.78%

ios-test's Introduction

ios-test

ios native app acceptance tests

Depedencies

When running rake calabash:environment_install most components will install themselves. However, Xcode will need to be installed on the system with command line tools

usage

  1. Git clone and pull [email protected]:iOS/BBBIosApp.git
  2. xcodebuild -target BBBApp -scheme BBBQA -configuration Release -sdk iphonesimulator7.1 clean build

Typical usage

bundle install
rake ios:setup
rake calabash:run

Command line use

rake calabash:console

running a test

BBB_ENV=PROD RESET_BETWEEN_SCENARIOS=1 APP_BUNDLE_PATH=build/blinkbox.app cucumber -r features features/library/library_navigation.feature 
  • BBB_ENV=PROD - sets the blinkbox.app to point to 'PROD' (valid options are DEVINT, QA, PROD).
  • RESET_BETWEEN_SCENARIOS=1 - ensures that the simulator is reset between each scenario.
  • APP_BUNDLE_PATH=build/blinkbox.app - location of thr .app file under test.

project structure

config/
      project_settings.yml
features/
        support/

Rakefile
README.md

rake -T

rake calabash:environment_install  # Installs necessary tools for the development environment
rake calabash:run                  # Runs all tests
rake ios:compile_app               # Compile App
rake ios:generate_calabash_target  # Sets up calabash target
rake ios:get_ios_project           # Get the BBB-ios mobile project
rake ios:install_app               # Installs the app onto the simulator
rake ios:reset                     # Reset all simulators [ Requires privacy accessibility enabled for terminal ]
rake ios:setup                     # Performs download,build and installation of app onto simulator

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.