Skip to content

Provide a WebApi to communicate between test devices like iOS and android phones or just a Mac / PC

License

Notifications You must be signed in to change notification settings

fsuhrau/automationhub

Repository files navigation

Automation Hub

Automation Hub is a Service which makes device automation as easy as possible by reducing the pain of starting stopping and observing devices. Its current focus is on Game UITesting as most of the other available solutions leek certain features.

Supports

  • Android Devices (via USB ADB)
  • Android Emulator (via ADB)
  • Android Device Cloud(s) (via remote ADB)
  • iOS Simulator (via xcrun)
  • iOS Devices
  • Unity Editor

Features

  • device handling like starting, stopping and observing devices
  • easy to use web interface
  • building test scenarios for more complex test cases (app migration, backend compatibility tests)
  • running tests on real devices
  • running tests on unity editor
  • building test reports
  • measure performance on test runs
  • provide native ui testing

Installation

Requirements

  • Android ADB
  • XCode

Install via Brew on MacOS

you can install the hub via brew on macos its part of a private tap for now. brew install fsuhrau/tap/automationhub

Configure

to run the hub it needs a basic configuration you can create your configuration by running the configuration wizard. for a more complex configuration you can checkout the example_config.yaml hub configure

Run Manually

to run the hub you need a configuration check the configuration set Configure hub master --config config.yaml it will start observing the device state and provide an api and webinterface via ip on port 8002 Link

Run as Service

the configure command can create a launchagent script to run the hub as a service launchctl load ~/Library/LaunchAgents/com.automationhub.master.plist

Usage

Apps

Devices

Tests

Create Tests

Run Tests

Test Results