Enable AndroidX test orchestrator

This commit is contained in:
Kirill Kamakin
2022-12-06 20:32:28 +01:00
parent 24388192e1
commit 8c3ec9a40d
2 changed files with 9 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ android {
versionCode = 25
versionName = "0.3.10"
testInstrumentationRunner = "gq.kirmanak.mealient.MealientTestRunner"
testInstrumentationRunnerArguments += mapOf("clearPackageData" to "true")
}
signingConfigs {
@@ -55,6 +56,10 @@ android {
packagingOptions {
resources.excludes += "DebugProbesKt.bin"
}
testOptions {
execution = "ANDROIDX_TEST_ORCHESTRATOR"
}
}
dependencies {
@@ -132,4 +137,5 @@ dependencies {
androidTestImplementation(libs.androidx.test.core)
androidTestImplementation(libs.androidx.test.rules)
androidTestImplementation(libs.androidx.test.runner)
androidTestUtil(libs.androidx.test.orchestrator)
}