Kore/app/src/test
Martijn Brekhof e5ab122b1d Updated gradle and compile and target SDK version (#640)
Had to upgrade robolectric as well as old version didn't
seem to cooperate with new gradle version.
2019-06-03 10:50:31 +01:00
..
java/org/xbmc/kore Updated gradle and compile and target SDK version (#640) 2019-06-03 10:50:31 +01:00
README.md unit test IDE execution improvements (#463) 2017-10-01 12:34:45 +01:00

README.md

Local tests that do NOT need to be executed on an Android device

Run tests

You can run the tests as follows:

Android Studio

  1. Make sure in the Run/Debug Configurations - Android JUnit - Defaults for Working directory: $MODULE_DIR$ is set.
  2. Select build variant "fullDebug"
  3. Set the Project view to Android
  4. Right-click on the directory "test" and select "Run tests"

Commandline

Run the following command from the top of the project:

./gradlew testFullDebugUnitTest