Kore/app/src/test
Tamás Varga 8fb24ee806 unit test IDE execution improvements (#463)
* update README about Run Configuration setting
* update task that needs to depend on assembleFullDebug
** this was needed to run individual local tests
2017-10-01 12:34:45 +01:00
..
java/org/xbmc/kore Implemented testing actionbar state (#382) 2017-04-29 16:08:15 +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