Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

uTest/appthwack-python

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appthwack-python

The official AppThwack python client.

Status

Initial 1.0 release.

Installation

Source

$ git clone git@github.com:appthwack/appthwack-python.git
$ python setup.py install

Pip

$ pip install appthwack

Usage

Configure the AppThwack client:

import appthwack

API_KEY = '...'
api = appthwack.AppThwackApi(API_KEY)

Select a project:

#...

project = api.project(id=1234)
project = api.project(name='Mutt Cuts')
projects = api.projects()

Select a device pool:

#...

device_pool = project.device_pool(id=42)
device_pool = project.device_pool(name='72 Sheepdog')
device_pools = project.device_pools()

Upload your app and test content:

#...

apk = api.upload('/src/samsonite.apk')
tests = api.upload('/src/gotworms.apk')

Schedule AppThwack AppExplorer test run:

#...

name = 'Seabass and the fellas'
run = project.schedule_app_explorer_run(apk, tests, name, device_pool)

Schedule Calabash test run:

#...

name = 'His head fell off!'
run = project.schedule_calabash_run(apk, tests, name, device_pool)

Schedule JUnit/Robotium test run:

#...

name = 'Totally redeem yourself!'
run = project.schedule_junit_run(apk, tests, name, device_pool)

Get run execution status:

#...

status = run.status() # new, queued, running, completed

Get run results:

#...

results = run.results()
print results # [12345]: Run Hello World! by admin is 'completed' with result 'pass'.

Dependencies

This project was built on the shoulders of others:

Documentation

The latest AppThwack API documentation can be found here.

Contributing

If you would like to contribute, simply fork the repository, push your changes and send a pull request.

License

MIT License. More information can be found here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.