This is a short tutorial/intro on how to set up and use Robolectric to create Component tests for your custom views. If you‘re not familiar with Robolectric, it’s a library which, instead of using an Emulator/Device, allows you to Unit test your Android application. …