Update: Its a bug and it\'s been reported, please star: https://code.google.com/p/android/issues/detail?id=209832&thanks=209832&ts=1463161330
<Try to change the Build Variant to debug
.
View -> Tool Windows -> Build Variants
UPD: This actually may be the cause, when all gradle
dependencies are met, but org.junit.Test
still not found. At least it was a cause for me. It was not working in 'release' build type, but was working in 'debug'.