Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-04 14:05:23 +04:00
parent eeb74486ef
commit 7c9112fa70
79 changed files with 12 additions and 428 deletions

View file

@ -9,11 +9,6 @@ plugins {
android {
namespace = "com.tangem.features.approval.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Feature */
@ -64,7 +59,6 @@ dependencies {
// region Tests
testImplementation(deps.test.coroutine)
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
// endregion

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.features.commonfeatures.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Api */
implementation(projects.features.commonFeatures.api)
@ -86,7 +81,6 @@ dependencies {
implementation(deps.hilt.android)
kapt(deps.hilt.kapt)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(projects.common.test)
testImplementation(projects.test.core)
testImplementation(projects.test.mock)

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.features.createwalletstart.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Api */
implementation(projects.features.createWalletStart.api)
@ -79,7 +74,6 @@ dependencies {
/** Test */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.features.details.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/* Project - API */
@ -87,7 +82,6 @@ dependencies {
/* Test */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)

View file

@ -16,11 +16,6 @@ android {
}
}
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/* Project - API */
api(projects.features.feed.api)
@ -109,7 +104,6 @@ dependencies {
/** Tests */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.features.hotwallet.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Api */
implementation(projects.features.hotWallet.api)
@ -85,7 +80,6 @@ dependencies {
/** Test */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.features.onboarding.v2.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Api */
implementation(projects.features.onboardingV2.api)
@ -97,7 +92,6 @@ dependencies {
/** Test */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)

View file

@ -42,6 +42,5 @@ dependencies {
/** Tests */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.truth)
}

View file

@ -9,11 +9,6 @@ plugins {
android {
namespace = "com.tangem.feature.rating.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
implementation(projects.features.rating.api)
@ -30,7 +25,6 @@ dependencies {
kapt(deps.hilt.kapt)
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)

View file

@ -7,11 +7,6 @@ plugins {
android {
namespace = "com.tangem.features.send.v2.api"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Core */
implementation(projects.core.decompose)
@ -46,7 +41,6 @@ dependencies {
// region Tests
testImplementation(deps.test.coroutine)
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(projects.common.test)

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.features.send.v2.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Api */
implementation(projects.features.sendV2.api)
@ -95,7 +90,6 @@ dependencies {
// region Tests
testImplementation(deps.test.coroutine)
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(projects.common.test)

View file

@ -9,11 +9,6 @@ plugins {
android {
namespace = "com.tangem.features.staking.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** AndroidX */
implementation(deps.androidx.fragment.ktx)
@ -95,7 +90,6 @@ dependencies {
/** Test */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)

View file

@ -9,11 +9,6 @@ plugins {
android {
namespace = "com.tangem.features.survey.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/* Project - API */
implementation(projects.features.survey.api)
@ -54,7 +49,6 @@ dependencies {
/** Tests */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)

View file

@ -96,11 +96,6 @@ dependencies {
/** Test */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.truth)
testImplementation(deps.test.mockk)
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

View file

@ -12,11 +12,6 @@ plugins {
android {
namespace = "com.tangem.feature.swap.data"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** AndroidX */
@ -68,5 +63,4 @@ dependencies {
/** Test */
testImplementation(projects.test.core)
testRuntimeOnly(deps.test.junit5.engine)
}

View file

@ -14,11 +14,6 @@ android {
unitTests.isIncludeAndroidResources = false
}
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Libs */
implementation(projects.libs.crypto)
@ -82,5 +77,4 @@ dependencies {
/** Test */
testImplementation(projects.test.core)
testRuntimeOnly(deps.test.junit5.engine)
}

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.feature.swap.presentation"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Api */
implementation(projects.features.commonFeatures.api)
@ -119,5 +114,4 @@ dependencies {
/** Test */
testImplementation(projects.test.core)
testRuntimeOnly(deps.test.junit5.engine)
}

View file

@ -64,13 +64,8 @@ dependencies {
implementation(deps.kotlin.immutable.collections)
/** Test */
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.junit5)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.features.tangempay.onboarding.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Core */
implementation(projects.core.analytics)
@ -65,7 +60,6 @@ dependencies {
/** Test */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.features.tokendetails.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** AndroidX */
implementation(deps.androidx.activity.compose)
@ -118,7 +113,6 @@ dependencies {
/** Tests */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.features.txhistory.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/* Project - API */
implementation(projects.features.txhistory.api)
@ -66,7 +61,6 @@ dependencies {
/* Tests */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
}

View file

@ -161,12 +161,7 @@ dependencies {
/** Test libraries */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.coroutine)
testImplementation(deps.test.truth)
testImplementation(deps.test.mockk)
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

View file

@ -79,10 +79,5 @@ dependencies {
/** Test libraries */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.truth)
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.features.yield.supply.impl"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Feature */
@ -86,7 +81,6 @@ dependencies {
/** Tests */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.coroutine)