android / testing-samples

A collection of samples demonstrating different frameworks and techniques for automated testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android ui test runs forever

DusyaBagdasaryan opened this issue · comments

> Task :app:hiltJavaCompileDebugAndroidTest NO-SOURCE
> Task :app:mergeDebugAndroidTestJavaResource
> Task :app:transformDebugAndroidTestClassesWithAsm
> Task :app:packageDebug
> Task :app:createDebugApkListingFileRedirect UP-TO-DATE
> Task :app:dexBuilderDebugAndroidTest
> Task :app:mergeProjectDexDebugAndroidTest
> Task :app:packageDebugAndroidTest
> Task :app:createDebugAndroidTestApkListingFileRedirect UP-TO-DATE
Connected to process 4667 on device 'xiaomi-redmi_note_9_pro-6ed84981'.

> Task :app:connectedDebugAndroidTest
Starting 1 tests on Redmi Note 9 Pro - 12

Tried to use dependency group

   debugImplementation "androidx.test:monitor:1.6.1"
   debugImplementation("androidx.fragment:fragment-ktx:1.4.1")
   debugImplementation 'androidx.test:core-ktx:1.5.0'

   debugImplementation 'androidx.test:rules:1.5.0'
   debugImplementation 'androidx.test:runner:1.5.2'

   debugImplementation("androidx.fragment:fragment-testing:1.4.1")
   
   
   // also the newest versions 
   
   debugImplementation("androidx.fragment:fragment-ktx:1.5.5")
   debugImplementation("androidx.fragment:fragment-testing:1.5.5")
 also the same issue, run with terminal also gives nothing the process stuck at 96% 

Is this in your own project, or this project? Please give additional context + hardware you are running on.