@@ -77,10 +77,37 @@ dependencies {
77
77
implementation " androidx.compose.runtime:runtime:$compose_version "
78
78
implementation " androidx.compose.ui:ui:$compose_version "
79
79
80
+
81
+ // jUnit
80
82
testImplementation " junit:junit:$junit_version "
81
- androidTestImplementation " androidx.test.ext:junit:1.1.5"
82
- androidTestImplementation " androidx.test.uiautomator:uiautomator:2.2.0"
83
- androidTestImplementation " androidx.test.espresso:espresso-core:3.5.1"
83
+
84
+ // Required for connected tests.
85
+ // https://mvnrepository.com/artifact/androidx.test/monitor
86
+ debugImplementation " androidx.test:monitor:$test_monitor_version "
87
+
88
+ // https://mvnrepository.com/artifact/androidx.test.ext
89
+ androidTestImplementation " androidx.test.ext:junit:$test_junit_version "
90
+
91
+ // https://mvnrepository.com/artifact/androidx.test
92
+ // https://developer.android.com/jetpack/androidx/releases/test
93
+ androidTestImplementation " androidx.test:core:$test_core_version "
94
+ androidTestImplementation " androidx.test:runner:$test_runner_version "
95
+ androidTestImplementation " androidx.test:rules:$test_rules_version "
96
+
97
+ // https://mvnrepository.com/artifact/androidx.test.uiautomator/uiautomator
98
+ androidTestImplementation " androidx.test.uiautomator:uiautomator:$uiautomator_version "
99
+
100
+ // Espresso
101
+ androidTestImplementation " androidx.test.espresso:espresso-core:$espresso_version "
102
+ // androidTestImplementation "androidx.test.espresso:espresso-contrib:$espresso_version"
103
+ // androidTestImplementation "androidx.test.espresso:espresso-intents:$espresso_version"
104
+ // androidTestImplementation "androidx.test.espresso:espresso-accessibility:$espresso_version"
105
+ androidTestImplementation " androidx.test.espresso:espresso-web:$espresso_version "
106
+ // androidTestImplementation "androidx.test.espresso.idling:idling-concurrent:$espresso_version"
107
+
108
+ // The following dependency can be either "implementation" or "androidTestImplementation",
109
+ // depending on whether you want it to appear on your APK's compile classpath or the test APK classpath.
110
+ // androidTestImplementation "androidx.test.espresso:espresso-idling-resource:$espresso_version"
84
111
85
112
// Test rules and transitive dependencies:
86
113
androidTestImplementation(" androidx.compose.ui:ui-test-junit4:$compose_version " )
0 commit comments