GithubHelp home page GithubHelp logo

isabella232 / codeception-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sauce-archives/codeception-example

0.0 0.0 0.0 2.81 MB

Example Codeception test configured to run on TestObject

Shell 23.70% PHP 40.07% Dockerfile 36.23%

codeception-example's Introduction

Codeception Example

An example codeception test configured to run on TestObject.

You then need to set environment variables like the device, appium version, and api key:

export TESTOBJECT_API_KEY=your api key
export APPIUM_URL=appium.testobject.com
export PLATFORM_NAME=ANDROID or IOS
export PLATFORM_VERSION=platform version of the used device e.g. '10' don't forget the Quotation marks!

Run:

  1. set all the suitable environment variables for your test setup (see 4).
  2. navigate to project path cd your/path/codeception-example
  3. build it using ./codecept.phar build or php codecept.phar build
  4. use ./codecept.phar run or php codecept.phar run to run it with basic capabilities
  5. to run it with the staging capabilities use ./codecept.phar run --env staging , php codecept.phar run --env static or php codecept.phar run --env specific_appium_version to use a specific device or don't use --env (the configuration file: acceptance.suite.yml).

Running with docker

Alternatively, tests can be run using docker:

./docker-build.sh
./docker-run.sh <api key> <platform name> <platform version> <appium url>
Example: ./docker-run.sh 01234567890123456789012345 IOS "'10'" appium.testobject.com

Downloading codeception

Codeception can be downloaded with wget: wget http://codeception.com/codecept.phar

codeception-example's People

Contributors

abdullahawara avatar crummy 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.