Testing in Android : Part 4 : Instrumented Unit Test

Instrumented Unit Tests : These are unit tests that run on real devices instead of JVM . Using instrumented Unit Tests, we can have real implementation of an Android Framework component like SharedPreferences objects, context of an Activity etc. Also , we will not have to mock any objects.1.  Add the following Dependencies : androidTestCompile […]