Code Monkey home page Code Monkey logo

arquillian-extension-ios's Introduction

Obsolete

We don't maintain this code base anymore. If you are interested in picking it up from where we left please reach out to us through Arquillian forum.

Arquillian Extension for the iOS Platform

This extensions allows you to bring Arquillian Drone WebDriver based testing to iOS simulators.

Usage

You have to do following steps, expecting your project was already set up to use Drone.

Add iOS extension to dependencies

    <dependency>
        <groupId>org.jboss.arquillian.extension</groupId>
        <artifactId>arquillian-ios-depchain</artifactId>
        <version>1.0.0-SNAPSHOT</version>
        <type>pom</type>
        <scope>test</scope>
    </dependency>

Set up WebDriver in arquillian.xml

    <extension qualifier="webdriver">
        <!-- this is optional if you set -->
        <property name="browserCapabilities">iphone</property>
        <!-- this makes WebDriver connect hub on iOS simulator -->
        <property name="remoteAddress">http://localhost:3001/wd/hub</property>
    </extension>

Set up iOS in arquillian.xml

You should be aware that following might change in the future. You've been warned!

<extension qualifier="ios">
    <!--
        this is optional - the extension can do `git clone` and build
        the project automatically, but it can take a long time
    -->
    <property name="waxsimBinary">path to your WaxSim binary</property>
</extension>

Properties explained, required in bold:

  • family - (iphone) determines whether iPhone or iPad is used, available values: ipad, iphone
  • sdk - SDK version
  • skip - (false) skip execution
  • verbose - (false) enables printing of additional information
  • waxsimBinary - path to WaxSim binary used to start iOS simulator
  • waxsimGitRepository - (git://github.com/jonathanpenn/WaxSim.git) WaxSim GIT repository

Set up iOS Drone in arquillian.xml

You should be aware that following might change in the future. You've been warned!

<extension qualifier="ios-drone">
    <!--
        this is optional - the extension can do svn checkout automatically,
        but it can take a long time
    -->
    <property name="localSeleniumCopy">path to your local copy of Selenium repository</property>
</extension>

Properties explained, required in bold:

  • localSeleniumCopy - path to your local copy of Selenium SVN repository
  • seleniumSvnRepository - (http://selenium.googlecode.com/svn/trunk/) URL of remote SVN repository used to 'svn checkout'
  • skip - (false) skip execution
  • timeoutInSeconds - (10) maximal time to get Selenium support on iOS simulator started
  • verbose - (false) enables printing of additional information

arquillian-extension-ios's People

Contributors

bartoszmajsak avatar lholmquist avatar papousek avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

lholmquist

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.