Skip to content

Commit 9ac0a58

Browse files
authored
Merge pull request #5 from browserstack/testng_ios
Update README
2 parents 8774d21 + d83fc52 commit 9ac0a58

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# testng-appium-app-browserstack
2+
3+
[TestNG](http://testng.org) Integration with BrowserStack.
4+
5+
![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)
6+
7+
Code samples to get started with Appium tests for your Native App using the TestNG framework.
8+
9+
## Resources
10+
* [Android Get Started guide](https://www.browserstack.com/app-automate/get-started)
11+
* [Android sample code repo](https://github.com/browserstack/testng-appium-app-browserstack/tree/master/android)
12+
* [IOS Get Started guide](https://www.browserstack.com/app-automate/get-started)
13+
* [IOS sample code repo](https://github.com/browserstack/testng-appium-app-browserstack/tree/master/ios)

android/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# testng-appium-app-browserstack
2-
3-
[TestNG](http://testng.org) Integration with BrowserStack.
4-
5-
![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)
6-
71
## Setup
82

93
* Clone the repo
@@ -34,5 +28,6 @@ to the BrowserStack servers using the above API.
3428
export BROWSERSTACK_USERNAME=<browserstack-username> &&
3529
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
3630
```
31+
3732
## Additional Resources
3833
* [Getting Started with App Automate](https://www.browserstack.com/app-automate/get-started)

ios/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
* Update `*.conf.json` files inside the `src/test/resources/conf` directory with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
66

77
## Running your tests
8+
9+
- Upload your Native App (.ipa file) to BrowserStack servers using upload API:
10+
11+
```
12+
curl -u "username:accesskey" -X POST "https://api.browserstack.com/app-automate/upload" -F "file=@/path/to/app/file/Application-debug.ipa"
13+
```
14+
15+
- Update the desired capability "app" with the App URL returned from the above API call
816
- To run a single test, run `mvn test -P single`
917
- To run parallel tests, run `mvn test -P parallel`
1018
- To run local tests, run `mvn test -P local`

0 commit comments

Comments
 (0)