After updating my project with following dependencies my tests stoped running.
mockitoVersion = '5.3.0'
dexMakerVersion = '2.28.3'
espressoVersion = '3.5.1'
--
androidTestImplementation "org.mockito:mockito-core:$mockitoVersion"
androidTestImplementation "com.linkedin.dexmaker:dexmaker-mockito:$dexMakerVersion"
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
I can click on button Run and it seems like running. But nothing happenned. Gradle build running endless and test results 0/0.
I have tried:
- update my studio (now it is Android Studio Flamingo | 2022.2.1)
- update Gradle (8.0.0)
- invalidate cash and restart (several times)
- clean and rebuild
- update libraries
- I have testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" already.
I don't understand where is a problem. Please help me to run my tests.
P.S it seems like unit tests work fine. So the problem is with Instrumented Tests