Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.89 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.89 KB

Docker Images for testing Mobile Applications with Quamotion

Build Status

This repository contains the source files for Docker images you can use to test mobile applications with Quamotion.

The main images built from this repository are the quamotion/webdriver and quamotion/ubuntu images.

The quamotion/webdriver image contains the Quamotion WebDriver. You can run the Quamotion WebDriver docker image like this:

docker run --privileged --net host -v /dev/bus/usb:/dev/bus/usb -v /var/run/usbmuxd:/var/run/usbmuxd --name quamotion-webdriver quamotion/webdriver

The container needs to run with elevated privileges in order to be able to access your iOS and Android devices over USB. You'll also need to make sure usbmuxd (which manages connections with your iOS devices) is up and running on your host.

The quamotion/ubuntu image is preconfigured with the tools you need to start writing scripts with Quamotion.

Configuring the Docker Container

You can mount volumes in the Docker container to make sure your settings persist after destroying and re-creating the container.

Within the container, the log files are stored at /var/log/quamotion and settings (such as the applications you want to test, your license key, and the iOS developer disk images) at /var/lib/quamotion.

You can use this command to map these folders to the same path on your host:

docker run --privileged --net host -v /dev/bus/usb:/dev/bus/usb -v /var/run/usbmuxd:/var/run/usbmuxd -v /var/log/quamotion:/var/log/quamotion -v /var/lib/quamotion:/var/lib/quamotion --name quamotion-webdriver quamotion/webdriver