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

Android @nonnull Usefulness

After a few reading and questions like this one I was wondering if there was a point in using @NonN… Read more Android @nonnull Usefulness

Android Unit Test Spannablestringbuilder

One of my classes uses SpannableStringBuilder and I need to write unit test code for it. This class… Read more Android Unit Test Spannablestringbuilder

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 : How To Write A Unit Test For Fragment Depending On A Viewmodel Live Data Attribute?

I have a listview in my fragment UI that its elements set depend on status of a value that come fro… Read more Android : How To Write A Unit Test For Fragment Depending On A Viewmodel Live Data Attribute?

How To Test Class Using Content Resolver/provider?

I'm trying to test class that queries content resolver. I would like to use MockContentResolver… Read more How To Test Class Using Content Resolver/provider?

How Do I Print The Stdout For Unit Test In Android?

I need a quick way to do a few tests and don't want to look at the Dalvik Debug Monitor. I just… Read more How Do I Print The Stdout For Unit Test In Android?