Kore/app/src/androidTest
Martijn Brekhof 3b2447607b Implemented support for handling multiple playlists in tests (#657)
Added support for handling multiple playlists in the Mock TCP server.
Refactored SlideUpPanelTests to support the new playlist handler.

Some code cleanup and enhancements
- Removed throw exception declarations from methods that never throw the exception.
- Changed deleting the test database on the test device to delete all databases.
  The former method of only deleting the test database resulted in many old databases
  that were not removed when the test run crashed.
- Enhanced robustness of testing async code by explicitly waiting for a view
  to reach a certain state.
2019-07-03 18:54:51 +01:00
..
java/org/xbmc/kore Implemented support for handling multiple playlists in tests (#657) 2019-07-03 18:54:51 +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