Robolectric is a unit testing framework that allows Android applications to be tested on the JVM in seconds without using an emulator or device.