I have inherited a Java project and am new to Java development. I feel a good way for me to get comfortable with the code is to write some tests around it. I\'m writing my c
I was getting this error, too:
junit.framework.AssertionFailedError: No tests found in ...
The reason was that I forgot to specify
defaultConfig {
...
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
After syncing the project, it found the tests. So maybe it helps someone else.