Kore/app/src/androidTest
Martijn Brekhof 1cb77876be Implemented testing actionbar state (#382)
* Added JSON datafiles for TV shows and music videos
   * Implemented instrumentations tests for MoviesActivity, MusicActivity,
     TVShowActivity, and AddonsActivity.
   * Moved RestoreSearchQueryViewPagerTest to music package as it uses
     the MusicActivity
   * Moved RestoreSearchQueryListFragmentTest to movies packages as it
     uses the MoviesActivity
   * Added scripts to get JSON data for music videos, addons, and TV shows
   * Added sequence diagram for BaseMediaActivity to clarify new setup
   * Refactored BaseMediaActivity to comply with diagram
   * Refactored SyncMusicVideos and SyncTVShows so we can use the same code
     for adding test data as we use for adding real data.
   * Removed unused StringBuffer and synchronize block in MockTcpServer
2017-04-29 16:08:15 +01:00
..
java/org/xbmc/kore Implemented testing actionbar state (#382) 2017-04-29 16:08:15 +01:00
README.md Refactored integration tests to use robolectric (#302) 2016-11-08 11:43:10 +00: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)[https://developer.android.com/studio/projects/index.html] 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