Git Product home page Git Product logo

aws-device-farm-calabash-tests-for-sample-app's Introduction

Calabash Sample Tests for AWS Device Farm Sample App

This is a collection of example Calabash test suites written for the AWS Device Farm Android sample app. Please use these tests as a reference for your own AWS Device Farm Calabash tests.

Android

Getting Started

  1. If you're just getting started with Calabash, first read the Official Calabash Documentation.

    We currently support calabash version 0.5.8. Be sure to have this installed when you test locally. Later versions of Calabash might cause unexpected results when running Calabash tests on AWS Device Farm.

  2. Run the command to install the proper version of the calabash-android gem:

    gem install calabash-android โ€“v 0.5.8
    
  3. Verify that you have calabash-android installed with this command:

    calabash-android version
    

    You should get "0.5.8" as the result

Running Your Tests Locally

Follow the official Calabash guide to run your tests locally

Running Your Tests on AWS Device Farm

Read the Device Farm documentation to run your tests in the AWS Cloud

Examples For Android

Examples for Testing Specific Scenarios

Component Android Implementation Tests
Alerts: Toasts and Dialogs source code source code
Fixtures source code source code
Static Page: TextView source code source code
Login Page source code source code
Nested Views: Back and Up Navigation source code source code
Web Views
An Expected Crash source code Not implemented

Examples for Native Features

Feature Android Implementation Tests
Camera source code source code
Image Collection Grid source code source code
Scroll View source code source code
Out of View Content source code source code
Video source code source code

Examples for Inputs

Component Android Implementation Tests
Checkbox source code source code
DatePicker source code source code
EditText source code source code
Gestures Input source code source code
Pull to Refresh source code source code
Radio Buttons source code source code
TimePicker source code source code
Toggle Button source code source code
Spinner Input source code source code
Buttons source code source code

Examples for Navigation

Component Android Implementation Tests
Navigation Drawer source code source code
ViewPager source code source code

aws-device-farm-calabash-tests-for-sample-app's People

Contributors

ahawker avatar appwiz avatar bjmorales avatar hyandell avatar scottgoldwater avatar

Watchers

 avatar  avatar

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.