Skip to content

Commit 0d5b10a

Browse files
authored
Merge pull request #6 from browserstack/junit_ios
JUnit iOS AppAutomate samples
2 parents f96a7ab + 4c6e326 commit 0d5b10a

File tree

18 files changed

+446
-0
lines changed

18 files changed

+446
-0
lines changed
File renamed without changes.
File renamed without changes.

src/test/java/com/browserstack/BrowserStackJUnitTest.java renamed to android/src/test/java/com/browserstack/BrowserStackJUnitTest.java

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

ios/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Setup
2+
* Clone the repo
3+
* Install dependencies `mvn install`
4+
* Update *.conf.json files inside the `src/test/resources/conf` directory with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings).
5+
6+
## Running your tests
7+
* To run a single test, run `mvn test -P single`
8+
* To run parallel tests, run `mvn test -P parallel`
9+
* To run local tests, run `mvn test -P local`
10+
11+
## Notes
12+
* You can view your test results on the [BrowserStack Automate dashboard](https://www.browserstack.com/automate)
13+
* Refer [Get Started](https://www.browserstack.com/app-automate/get-started#getting-started) document to configure the capabilities
14+
* You can export the environment variables for the Username and Access Key of your BrowserStack account.
15+
16+
```
17+
export BROWSERSTACK_USERNAME=<browserstack-username> &&
18+
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
19+
```
20+
21+
## Addtional Resources
22+
* [Getting Started with App Automate](https://www.browserstack.com/app-automate/get-started)

0 commit comments

Comments
 (0)