commit | 6277184e14a727fe42fe6d3e388e8eec5a831f20 | [log] [tgz] |
---|---|---|
author | Eric Shieh <eshieh@excelsis.com> | Wed Sep 02 22:58:53 2015 |
committer | Eric Shieh <eshieh@excelsis.com> | Wed Sep 02 22:58:53 2015 |
tree | 85f0f1cd8b729a1bc12b3d8588e7549081feac0d | |
parent | f25c77fed6c55b60f936f9da12e16be07d60191b [diff] | |
parent | 65bbc9f933e631c7c5127d8cb1d2d8675f57fe91 [diff] |
Merge pull request #52 from appurify/fixcomments fixing comment mistakes
The official Python client for the Appurify API.
pip install appurify-0.5.1.tar.gz
This will install any missing dependencies and add two executable scripts to your bin folder:
$ appurify-client.py -h $ appurify-tunnel.py -h
appurify-client.py --api-key $API_KEY --api-secret $API_SECRET --team $TEAM \ --app-src $APP-SRC --app-test-type $TEST_TYPE --test-src $TEST_SRC --test-type $TEST_TYPE \ --device-type-id $DEVICE_TYPE_IDS --result-dir $RESULT_DIR
In Jenkins create a new Execute Shell build step and upload your app using the Python wrapper as pictured below.
To facilitate error reporting, the client will report one of the following error codes on exit:
Code | Meaning |
---|---|
0 | Test completed with no exceptions or errors |
1 | Test completed normally but reported test failures |
2 | Test was aborted by the user or system |
3 | Test was aborted by the system because of timeout |
4 | Test could not be completed because the device could not be activated or reserved |
5 | Test could not execute because there was an error in the configuration or uploaded files |
6 | Test could not execute because the server rejected the provided credentials |
7 | Test could not execute because of other server/remote exception |
8 | Test could not execute because of an unexpected error in the client |
9 | Test got a connection error attempting to reach the server |
10 | The app could not be installed on the device (possibly due to incorrect build) |
11 | Test could not execute because device type is not found in user pool |
12 | Test could not execute because app is not built for device type |
13 | Device doesn't exist in users device pool |
14 | App is not compabtible with device specified. |
15 | Test reached timeout for grid session |
Found a bug or want to add a much needed feature? Go for it and send us the Pull Request!
--team
flag.--version
flag to print version and exit--timeout
parameter to specify the desired timeout at runtime, or using the os environment variable APPURIFY_API_TIMEOUT
. Specify desired timeout in seconds.ios_sencharobot
test typenetwork_headers
test type no longer requires app sourceresult-dir
parameter.kif
test type