adambl4
For Android Studio, you need to add a Before launch gradle step to compile your test classes. If you have the default setup, adding assembleDebugUnitTest should suffice.