robolectric

Android Unit Testing With Robolectric

Are you interested in adding Robolectric to your development process? Here’s a quick introduction to the most common types of test cases and some best practices to consider when deciding your testing strategy. I’ve created two example apps for your reference. The first is a glorified Hello World and the other is a simple animation … Read More

Integrating Robolectric with IntelliJ

Unit testing is a best practice, but has been particularly difficult in Android. One library that makes this process much simpler is Robolectric. Integration into your project can be tricky and most methods start with maven and create an Android project from scratch. I’m a huge fan of living in IDE-land as much as possible, … Read More