Android: How can I run a JUnit4 test in my data layer without using an Activity or Service? -


i testing data layer (androidtest), android-library gradle module - means no activity or service hook into.

i can use applicationtest - junit3. how come there no applicationtestrule activitytestrule or servicetestrule, can use junit4?


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -