Skip to content

Commit

Permalink
updated espresso test dependency to run on Android 13 devices
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanosiano committed Nov 8, 2022
1 parent c5db530 commit 0da7bc2
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions buildSrc/src/main/java/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -139,18 +139,16 @@ object Config {
}

object TestLibs {
private val androidxTestVersion = "1.4.0"

// todo This beta version is needed to run ui tests on Android 13.
// It will be replaced by androidxTestVersion when 1.5.0 will be out.
private val androidxTestVersionBeta = "1.5.0-beta01"
private val espressoVersion = "3.4.0"
// todo These rc versions are needed to run ui tests on Android 13.
// They will be replaced by stable version when 1.5.0/3.5.0 will be out.
private val androidxTestVersion = "1.5.0-rc01"
private val espressoVersion = "3.5.0-rc01"

val androidJUnitRunner = "androidx.test.runner.AndroidJUnitRunner"
val kotlinTestJunit = "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion"
val androidxCore = "androidx.test:core:$androidxTestVersionBeta"
val androidxCore = "androidx.test:core:$androidxTestVersion"
val androidxRunner = "androidx.test:runner:$androidxTestVersion"
val androidxTestCoreKtx = "androidx.test:core-ktx:$androidxTestVersionBeta"
val androidxTestCoreKtx = "androidx.test:core-ktx:$androidxTestVersion"
val androidxTestRules = "androidx.test:rules:$androidxTestVersion"
val espressoCore = "androidx.test.espresso:espresso-core:$espressoVersion"
val espressoIdlingResource = "androidx.test.espresso:espresso-idling-resource:$espressoVersion"
Expand Down

0 comments on commit 0da7bc2

Please sign in to comment.