JUnit4 – AssertionFailedError: No tests found
I found the problem. It was missed code in build.gradle in the main module. If you have this problem I advise to start with adding this line: android { … defaultConfig { … testInstrumentationRunner ‘android.support.test.runner.AndroidJUnitRunner’ } … }