Skip to main content

Run test from anywhere to anywhere in the galaxy

Project description

galaxest

galaxest is a CLI (Command Line Interface) software to help developer/tester to run automation test through any device farms agnostically.

Installation & Setup

Requirements

  • Mac OS / Linux Debian based
  • Python 2.7
  • Python PIP
  • ADB properly setup

Installation

You must have all of the requirements installed first. Then you can simply install via Python PIP:

pip install galaxest

Setup

You have to setup your app after the installation success. type command below if this is your first setup:

galaxest

or you can type below command if you want to re-setup your configuration:

galaxest --reset-config

It will show a dialogue to prompt you about the setup. Choose Yes if you are ready to do the setup.

You'll be asked to choose the device farm sources available for your project. You can choose more than one device farm source if you have it. You have to type for each options you choose until the indicator shows X while O means you are not choosing the option.

OpenSTF Device Farm Setup

You'll need host,api key, and adb public key of the OpenSTF to make your app works with OpenSTF Device Farm.

  1. Please put your OpenSTF host address completely like example :
http://mystf.com:7100
  1. Then you have to generate your OpenSTF API Key from your OpenSTF Dashboard and put the API Key to the setup dialogue.
  2. Last, you need to register your ADB Public Key to your OpenSTF account in order to do remote connect and do some adb commands through the device.
  3. It will check if the app is able to connect to the OpenSTF Device Farm.

Next, You'll be asked to choose one automation tool that you use in your computer.

Katalon Automation Tool Setup

There are some questions to make galaxest working perfectly with your Katalon.

  1. The Katalon Application Path. You need to specify the absolute path to your katalon application. e.g: /Applications/Katalon.app/Contents/MacOS/katalon
  2. Your Automation Project File. You need to specify the absolute path to your automation project file. The file should be the one which has extension .prj. e.g: /Users/your_username/your_dir/your_automation_project_name.prj

Features

help

galaxest --help

available devices

galaxest -l

connect

If you want to connect randomly to a device:

galaxest -c

Or if you want to connect to a desired device:

galaxest -c desired_serial_id

disconnect

galaxest -d desired_serial_id

my connected devices

galaxest -i

run a test

simple test run

You can run a test by simply use this command:

galaxest -r desired_test_suite_name

choose device to run test

You can also specify the method to find the most suitable device to run test. We currently support find a device by the id --by-id, by the os--by-os, and by the amount --by-n.

galaxest -r desired_test_suite_name --by-id desired_serial_id

specify more run options

You can also specify more options supported from the automation framework you are using by adding --opts.

galaxest -r <test_suite_name> --opts additional_run_options

run in parallel

You can run your automation test in parallel by using , as delimiter between specs except for --by-n. e.g:

galaxest -r desired_test_suite_name --by-os 5,6,7

show configuration

galaxest -p

reset configuration

galaxest --reset-config

License

See LICENSE.

Copyright © 2019 The galaxest Project. All Rights Reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

galaxest-0.0.8.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

galaxest-0.0.8-py2-none-any.whl (16.2 kB view details)

Uploaded Python 2

File details

Details for the file galaxest-0.0.8.tar.gz.

File metadata

  • Download URL: galaxest-0.0.8.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for galaxest-0.0.8.tar.gz
Algorithm Hash digest
SHA256 b2b1637844c2a40565890afb616a144d8d45ee62eac1b969fe90b533efe77914
MD5 822d5f9069b3cbd871d39c26faf48161
BLAKE2b-256 645674d2def6b8840d142eb106fb96ef7d7d2ea62e150e359bc92d7c0768a642

See more details on using hashes here.

File details

Details for the file galaxest-0.0.8-py2-none-any.whl.

File metadata

  • Download URL: galaxest-0.0.8-py2-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for galaxest-0.0.8-py2-none-any.whl
Algorithm Hash digest
SHA256 eb3f008d4a7a9833069cfc010a2f99c2955a9b0fc310f202a5a799b79f3bb2b4
MD5 778175b09473ff87290a32c3a4f4abc3
BLAKE2b-256 993fd882619e2247c2609e23ec4d5585b883adc2f93b6c100a6516964ebfc412

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page