Kore/app/src/androidTest
Martijn Brekhof bdefeafc3b Implemented integration tests for the control pad (#476)
* Added two abstract methods setSharedPreferences and
     configureHostInfo to allow test classes extending
     AbstractTestClass to set preferences or change the host info.
   * Implemented a mock event server to test event server commands
   * Implemented a handler to handle JSON input events over HTTP
2017-10-24 19:36:38 +01:00
..
java/org/xbmc/kore Implemented integration tests for the control pad (#476) 2017-10-24 19:36:38 +01:00
README.md Updated documentation on running local and instrumentation tests (#460) 2017-09-28 19:54:52 +01:00

README.md

Integration tests that need to be executed on an Android device.

Run tests

You can run the tests as follows:

Android Studio

  1. Select build variant "instrumentationTestDebug"
  2. Set the Project view to Android
  3. Right-click on the directory "androidTest" and select "Run tests"

Commandline

Run the following command from the top of the project:

./gradlew connectedInstrumentationTestDebugAndroidTest

This will run the tests on all connected devices in parallel