Skip to content

Commit 335c49a

Browse files
authored
Merge pull request #23 from kamal-kaur04/change-directory-structure
Change directory structure
2 parents 67424e5 + d5d88c5 commit 335c49a

29 files changed

+27
-27
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,37 +27,37 @@ These code samples are currently based on:
2727

2828
### Install the dependencies
2929

30-
To install the dependencies for Android tests, run :
30+
To install the dependencies for JUnit4 tests, run :
3131

32-
- For Junit4
32+
- For Android
3333

3434
```sh
35-
cd android/junit4-examples
35+
cd junit-4/android
3636
mvn clean
3737
```
3838

39-
- For Junit5
39+
- For iOS
4040

4141
```sh
42-
cd android/junit5-examples
42+
cd junit-4/ios
4343
mvn clean
4444
```
4545

4646
Or,
4747

48-
To install the dependencies for iOS tests, run :
48+
To install the dependencies for JUnit5 tests, run :
4949

50-
- For Junit4
50+
- For Android
5151

5252
```sh
53-
cd ios/junit4-examples
53+
cd junit-5/android
5454
mvn clean
5555
```
5656

57-
- For Junit5
57+
- For iOS
5858

5959
```sh
60-
cd ios/junit5-examples
60+
cd junit-5/ios
6161
mvn clean
6262
```
6363

@@ -68,26 +68,26 @@ Getting Started with Appium tests in Junit4 and Junit5 on BrowserStack couldn't
6868
### **Run first test :**
6969
7070
- Junit4
71-
- Update `browserstack.yml` file at root level of [Android Junit4 examples](android/junit4-examples) or [iOS Junit4 examples](ios/junit4-examples) with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
71+
- Update `browserstack.yml` file at root level of [Android Junit4 examples](junit-4/android) or [iOS Junit4 examples](junit-4/ios) with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
7272
- Run `mvn test -P sample-test`
7373
7474
- Junit5
75-
- Update `browserstack.yml` file at root level of [Android Junit5 examples](android/junit5-examples) or [iOS Junit5 examples](ios/junit5-examples) with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
75+
- Update `browserstack.yml` file at root level of [Android Junit5 examples](junit-5/android) or [iOS Junit5 examples](junit-5/ios) with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
7676
- Run `mvn test -P sample-test`
7777
7878
### **Use Local testing for apps that access resources hosted in development or testing environments :**
7979
8080
- Junit4
81-
- Update `browserstack.yml` file at root level of [Android Junit4 examples](android/junit4-examples) or [iOS Junit4 examples](ios/junit4-examples) with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
82-
- Simply configure the browserstackLocal parameter in the browserstack.yml file accordingly in [Android Junit4 examples](android/junit4-examples) or [iOS Junit4 examples](ios/junit4-examples).
81+
- Update `browserstack.yml` file at root level of [Android Junit4 examples](junit-4/android) or [iOS Junit4 examples](junit-4/ios) with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
82+
- Simply configure the browserstackLocal parameter in the browserstack.yml file accordingly in [Android Junit4 examples](junit-4/android) or [iOS Junit4 examples](junit-4/ios).
8383
```
8484
browserstackLocal: true
8585
```
8686
- Run `mvn test -P sample-local-test`
8787
8888
- Junit5
8989
- Update `browserstack.yml` file at root level of Android Junit5 examples or iOS Junit5 examples with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
90-
- Simply configure the browserstackLocal parameter in the browserstack.yml file accordingly in [Android Junit5 examples](android/junit5-examples) or [iOS Junit5 examples](ios/junit5-examples).
90+
- Simply configure the browserstackLocal parameter in the browserstack.yml file accordingly in [Android Junit5 examples](junit-5/android) or [iOS Junit5 examples](junit-5/ios).
9191
```
9292
browserstackLocal: true
9393
```
File renamed without changes.
File renamed without changes.

android/junit4-examples/browserstack.yml renamed to junit-4/android/browserstack.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${
2424
# This property is needed to send test context to BrowserStack (test name, status)
2525
framework: junit4
2626

27-
source: junit4:appium-sample-sdk:v1.0
27+
source: junit4:appium-sample-sdk:v1.1
2828

29-
app: ../WikipediaSample.apk
30-
#app: ../LocalSample.apk #For running local tests
29+
app: ./WikipediaSample.apk
30+
#app: ./LocalSample.apk #For running local tests
3131

3232
# =======================================
3333
# Platforms (Browsers / Devices to test)
File renamed without changes.
File renamed without changes.
File renamed without changes.

ios/junit4-examples/browserstack.yml renamed to junit-4/ios/browserstack.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${
2424
# This property is needed to send test context to BrowserStack (test name, status)
2525
framework: junit4
2626

27-
source: junit4:appium-sample-sdk:v1.0
27+
source: junit4:appium-sample-sdk:v1.1
2828

29-
app: ../BStackSampleApp.ipa
30-
#app: ../LocalSample.ipa #For running local tests
29+
app: ./BStackSampleApp.ipa
30+
#app: ./LocalSample.ipa #For running local tests
3131

3232
# =======================================
3333
# Platforms (Browsers / Devices to test)
File renamed without changes.

junit-5/android/LocalSample.apk

3.84 MB
Binary file not shown.

junit-5/android/WikipediaSample.apk

19.4 MB
Binary file not shown.

android/junit5-examples/browserstack.yml renamed to junit-5/android/browserstack.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${
2424
# This property is needed to send test context to BrowserStack (test name, status)
2525
framework: junit5
2626

27-
source: junit5:appium-sample-sdk:v1.0
27+
source: junit5:appium-sample-sdk:v1.1
2828

29-
app: ../WikipediaSample.apk
30-
#app: ../LocalSample.apk #For running local tests
29+
app: ./WikipediaSample.apk
30+
#app: ./LocalSample.apk #For running local tests
3131

3232
# =======================================
3333
# Platforms (Browsers / Devices to test)
File renamed without changes.

junit-5/ios/BStackSampleApp.ipa

5.04 MB
Binary file not shown.

junit-5/ios/LocalSample.ipa

9.08 MB
Binary file not shown.

ios/junit5-examples/browserstack.yml renamed to junit-5/ios/browserstack.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${
2424
# This property is needed to send test context to BrowserStack (test name, status)
2525
framework: junit5
2626

27-
source: junit5:appium-sample-sdk:v1.0
27+
source: junit5:appium-sample-sdk:v1.1
2828

29-
app: ../BStackSampleApp.ipa
30-
#app: ../LocalSample.ipa #For running local tests
29+
app: ./BStackSampleApp.ipa
30+
#app: ./LocalSample.ipa #For running local tests
3131

3232
# =======================================
3333
# Platforms (Browsers / Devices to test)
File renamed without changes.

0 commit comments

Comments
 (0)