JoeSSS/SampleWaysOfTesting

A sample Calabash project

★ 0Forks 1RubyGitHub ↗Compare
calabashcalabash-iospageobjectwaysoftesting

README

This repository was created for learning purpose and contains a Calabash iOS/Android sample project.

iOS and Android APP

A simle one-screen APP when you can check whether entered data is Int or not. Colors of the result label will change respectively.

Calabash project

An Calabash project that built to show how easy you can implement page objects and write different tests reusing page objects and gherkin steps for iOS and Android in a single project.

To run tests on iOS:

  1. Xcode 9+
  2. Ruby >= 2.2.0
  3. bundle install
  4. bundle exec cucumber -p ios
    More about calabash-ios requirements you can find here: https://github.com/calabash/calabash-ios

To run tests in Android:

  1. Android environment (JDK, Android SDK, Android instruments)
  2. Ruby >= 2.0.0
  3. bundle install
  4. bundle exec cucumber -p android
    More about calabash-android requirements you can find here: https://github.com/calabash/calabash-android

More about the sample project you can read on http://www.waysoftesting.com

Contributors

JoeSSS

Issues