An open API service indexing awesome lists of open source software.

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

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/)