Kore/app/src/test
Martijn Brekhof bbda7df4aa Refactored integration tests to use robolectric (#302)
* Updated travis build to include running local tests for each PR
* Removed unused methods from Utils.java
* Moved all resources required by both local and instrumentation tests
  to testUtils
* Added proguard rules for the test builds to prevent proguard from discarding
  the junit classes
2016-11-08 11:43:10 +00:00
..
java/org/xbmc/kore/provider/mediaprovider Refactored integration tests to use robolectric (#302) 2016-11-08 11:43:10 +00:00
README.md Refactored integration tests to use robolectric (#302) 2016-11-08 11:43:10 +00: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. 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 "test" and select "Run tests"

Commandline

Run the following command from the top of the project:

./gradlew testInstrumentationTestDebugUnitTest