e5ab122b1d
Had to upgrade robolectric as well as old version didn't seem to cooperate with new gradle version. |
||
---|---|---|
.. | ||
java/org/xbmc/kore | ||
README.md |
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
- Make sure in the Run/Debug Configurations - Android JUnit - Defaults for Working directory:
$MODULE_DIR$
is set. - Select build variant "fullDebug"
- Set the Project view to Android
- Right-click on the directory "test" and select "Run tests"
Commandline
Run the following command from the top of the project:
./gradlew testFullDebugUnitTest