I understand that Roboelectric tests can run on JVM and Espresso tests have to run on Emulator or device, which makes Roboelectric faster and preferred for unit tests.