Kore/app/src/androidTest
Martijn Brekhof d1d8412654 Refactored unit tests (#643)
* Removed redundant configureHostInfo
  It was only used to set the Kodi backend version which is also
  set using setKodiMajorVersion.

* Removed unused annotations and throwables

* Improved robustness of SlideUpPanelTests
  Replaced explicit sleeps with the waitForView action.
  Fixed issue in waitForView action as it required the UI
  to be idle which is mostly not the case for the bottom
  panel with the progress indicator.

* Improved robustness of eventserver
  When eventserver handles a wrong payload this should not crash
  but simply show a log message and let the actual test fail.
2019-06-11 08:47:11 +01:00
..
java/org/xbmc/kore Refactored unit tests (#643) 2019-06-11 08:47:11 +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