https://github.com/testingbot/java-junit-app-example
Java and JUnit example for TestingBot Mobile Testing on Real Devices
https://github.com/testingbot/java-junit-app-example
device-testing junit mobile-development
Last synced: 7 months ago
JSON representation
Java and JUnit example for TestingBot Mobile Testing on Real Devices
- Host: GitHub
- URL: https://github.com/testingbot/java-junit-app-example
- Owner: testingbot
- Created: 2019-08-07T15:52:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-23T15:40:13.000Z (almost 2 years ago)
- Last Synced: 2025-01-19T19:17:19.256Z (12 months ago)
- Topics: device-testing, junit, mobile-development
- Language: Java
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## TestingBot - Java & JUnit
TestingBot provides a grid of browsers and mobile devices to run Automated tests.
This example demonstrates how to use Java with JUnit to run a test on a Real Mobile Device.
### Environment Setup
1. Setup
* Clone this repository
* Install dependencies `mvn install`
2. TestingBot Credentials
* Add your TestingBot Key and Secret as environmental variables. You can find these in the [TestingBot Dashboard](https://testingbot.com/members/).
```
$ export TB_KEY=
$ export TB_SECRET=
```
## Running Tests
* To run a single test, run `mvn test -P single`
You will see the test result in the [TestingBot Dashboard](https://testingbot.com/members/)
### Resources
##### [TestingBot Documentation](https://testingbot.com/support/mobile/java.html)
##### [Appium Documentation](https://appium.io/)