This repository demonstrates how to run Appium tests in JUnit4 and Junit5 on BrowserStack App Automate.
-
Java 8+
-
Maven
To install the dependencies for Android tests, run :
-
For Junit4
cd android/junit4-examples mvn clean
-
For Junit5
cd android/junit5-examples mvn clean
Or,
To install the dependencies for iOS tests, run :
-
For Junit4
cd ios/junit4-examples mvn clean
-
For Junit5
cd ios/junit5-examples mvn clean
Getting Started with Appium tests in Junit4 and Junit5 on BrowserStack couldn't be easier!
-
Junit4
- Switch to
run_first_test
directory under Android Junit4 examples or iOS Junit4 examples - Follow the steps outlined in the documentation - Get Started with your first test on App Automate
- Switch to
-
Junit5
- Switch to
run_first_test
directory under Android Junit5 examples or iOS Junit5 examples - Follow the steps outlined in the documentation - Get Started with your first test on App Automate
- Switch to
-
Junit4
- Switch to
run_parallel_test
directory under Android Junit4 examples or iOS Junit4 examples - Follow the steps outlined in the documentation - Get Started with parallel testing on App Automate
- Switch to
-
Junit5
- Switch to
run_parallel_test
directory under Android Junit5 examples or iOS Junit5 examples - Follow the steps outlined in the documentation - Get Started with parallel testing on App Automate
- Switch to
-
Junit4
- Switch to
run_local_test
directory under Android Junit4 examples or iOS Junit4 examples - Follow the steps outlined in the documentation - Get Started with Local testing on App Automate
- Switch to
-
Junit5
- Switch to
run_local_test
directory under Android Junit5 examples or iOS Junit5 examples - Follow the steps outlined in the documentation - Get Started with Local testing on App Automate
- Switch to
Note: If you are facing any issues, refer Getting Help section
For other Java frameworks samples, refer to following repositories :
Note: For other test frameworks supported by App-Automate refer our Developer documentation
If you are running into any issues or have any queries, please check Browserstack Support page or get in touch with us.