Skip to content Skip to sidebar Skip to footer
Showing posts with the label Unit Testing

Rxjava Android Mvp Unit Test Nullpointerexception

I am new to Unit Testing in mvp, I want to make a verrry basic test to the presenter, which is resp… Read more Rxjava Android Mvp Unit Test Nullpointerexception

Gradle Android Unit Tests That Depend On An 'aar'

Want to be able to depend on an AAR for my unit tests in a Gradle-Android project. I do not want t… Read more Gradle Android Unit Tests That Depend On An 'aar'

Android Local Tests Vs Instrumented Test

I'm trying to check if my API is available within a unit test, to be sure that it responds with… Read more Android Local Tests Vs Instrumented Test

Set Parameters Of Android.location.location Object From Junit Unit Test

I'm trying to make unit test for a function which receive android.location.Location object. But… Read more Set Parameters Of Android.location.location Object From Junit Unit Test

Classcastexception Exception When Running Robolectric Test With Power Mock On Multiple Files

So I set up the power mock based on the reference guide here. It all seems to run perfectly fine wi… Read more Classcastexception Exception When Running Robolectric Test With Power Mock On Multiple Files

How Can I Swap Test Doubles At The Scope Of An Activity Or A Fragment Using Dagger 2?

EDIT: Watch out! I have deleted the old repository reffered to in this question. See my own answer … Read more How Can I Swap Test Doubles At The Scope Of An Activity Or A Fragment Using Dagger 2?

Android Studio 2.1: Error: Package Org.junit Does Not Exist

Update: Its a bug and it's been reported, please star: https://code.google.com/p/android/issues… Read more Android Studio 2.1: Error: Package Org.junit Does Not Exist

Assets Folder In Android Studio Unit Test

I have a Gradle project with the following structure: project/ src/ androidTest/ … Read more Assets Folder In Android Studio Unit Test