Android unit tests explained: instrumented and non instrumented unit tests. See blog posts for more info:
The first post blog post covers:
- JsonParserTest: you'll find it in the 'androidTest' (instrumented) and 'test' (local, non instrumented unit test) folders.
- FileSerializerTest: non-instrumented test that uses file operations without a context
- SharedPreferencesTest: instrumented test that uses and Android context to work with shared preferences
The second post blog post covers:
- AssetTest: you'll find it in the 'androidTest' (instrumented) and 'test' (local, non instrumented unit test) folders.
./gradlew connectedCheck
./gradlew test
###License (Public domain)
This is free and unencumbered software released into the public domain.
For more information, please refer to <http://unlicense.org/>