Updated on 2026-08-14
This commit is contained in:
parent
37efabe359
commit
4fe300d8cc
3 changed files with 6 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ android {
|
|||
namespace = "com.tangem.wallet"
|
||||
testOptions {
|
||||
animationsDisabled = true
|
||||
execution = "ANDROIDX_TEST_ORCHESTRATOR"
|
||||
}
|
||||
packaging {
|
||||
jniLibs {
|
||||
|
|
@ -345,6 +346,8 @@ dependencies {
|
|||
implementation(deps.listenableFuture)
|
||||
implementation(deps.mlKit.barcodeScanning)
|
||||
|
||||
androidTestUtil(deps.test.orchestrator)
|
||||
|
||||
/** Leakcanary */
|
||||
debugImplementation(deps.leakcanary)
|
||||
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ kaspresso = "1.5.4"
|
|||
kaspresso-compose = "1.5.4"
|
||||
compose-junit = "1.6.2"
|
||||
hamcrest = "2.2"
|
||||
orchestrator = "1.5.1"
|
||||
# endregion Testing
|
||||
|
||||
[plugins]
|
||||
|
|
@ -212,6 +213,7 @@ test-compose-junit = { module = "androidx.compose.ui:ui-test-junit4", version.re
|
|||
test-hamcrest = { module = "org.hamcrest:hamcrest", version.ref = "hamcrest" }
|
||||
test-hilt = { module = "com.google.dagger:hilt-android-testing", version.ref = "hilt" }
|
||||
test-hilt-compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hilt" }
|
||||
test-orchestrator = { module = "androidx.test:orchestrator", version.ref = "orchestrator" }
|
||||
# endregion Test
|
||||
|
||||
# region Other
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ private fun AppExtension.configureDefaultConfig(project: Project) {
|
|||
buildFeatures.buildConfig = true
|
||||
|
||||
testInstrumentationRunner = "com.tangem.common.HiltTestRunner"
|
||||
testInstrumentationRunnerArguments["clearPackageData"] = "true"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue