Skip to content

Commit e22c232

Browse files
authored
Merge pull request #7 from browserstack/junit_ios
Update README
2 parents 0d5b10a + 70b3ed3 commit e22c232

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

README.md

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

android/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# junit-appium-app-browserstack
2-
[JUnit](http://junit.org/junit4/) Integration with BrowserStack.
3-
4-
![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)
5-
6-
![JUnit](http://junit.org/junit4/images/junit-logo.png)
7-
81
## Setup
92
* Clone the repo
103
* Install dependencies `mvn install`

ios/README.md

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

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

0 commit comments

Comments
 (0)