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

@ -3,11 +3,6 @@ plugins {
alias(deps.plugins.kotlin.serialization)
id("configuration")
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
api(projects.domain.common)
@ -23,6 +18,5 @@ dependencies {
// region Test libraries
testImplementation(projects.test.core)
testImplementation(projects.test.mock)
testRuntimeOnly(deps.test.junit5.engine)
// endregion
}

View file

@ -10,11 +10,6 @@ plugins {
android {
namespace = "com.tangem.domain.account.status"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
api(projects.domain.account)
api(projects.domain.core)
@ -48,7 +43,6 @@ dependencies {
kapt(deps.hilt.kapt)
// end
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(projects.common.test)
testImplementation(projects.test.core)
testImplementation(projects.test.mock)

View file

@ -7,11 +7,6 @@ plugins {
android {
namespace = "com.tangem.domain.card"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
implementation(projects.core.analytics.models)
implementation(projects.core.error)
@ -37,7 +32,6 @@ dependencies {
}
/** Testing libraries */
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(projects.common.test)
testImplementation(projects.test.core)
}

View file

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

View file

@ -7,11 +7,6 @@ plugins {
android {
namespace = "com.tangem.domain.dynamicaddresses"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
api(projects.domain.core)
api(projects.domain.dynamicAddresses.models)
@ -26,7 +21,6 @@ dependencies {
}
implementation(tangemDeps.card.core)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(projects.common.test)
testImplementation(projects.test.core)
}

View file

@ -18,12 +18,7 @@ dependencies {
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

@ -8,11 +8,6 @@ plugins {
android {
namespace = "com.tangem.domain.features"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
implementation(projects.core.datasource)
implementation(projects.core.utils)
@ -46,7 +41,6 @@ dependencies {
/** Testing libraries */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(projects.common.test)

View file

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

View file

@ -4,11 +4,6 @@ plugins {
alias(deps.plugins.ksp)
id("configuration")
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
api(projects.domain.core)
api(projects.core.utils)
@ -24,5 +19,4 @@ dependencies {
implementation(deps.arrow.core)
testImplementation(projects.test.core)
testRuntimeOnly(deps.test.junit5.engine)
}

View file

@ -26,13 +26,8 @@ dependencies {
// region Tests
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.coroutine)
testImplementation(deps.test.truth)
testImplementation(deps.test.mockk)
// end
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

View file

@ -2,11 +2,6 @@ plugins {
alias(deps.plugins.kotlin.jvm)
id("configuration")
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Domain modules */
api(projects.domain.core)
@ -14,5 +9,4 @@ dependencies {
/** Test libraries */
testImplementation(projects.test.core)
testRuntimeOnly(deps.test.junit5.engine)
}

View file

@ -3,11 +3,6 @@ plugins {
alias(deps.plugins.kotlin.serialization)
id("configuration")
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Core modules */
implementation(projects.core.analytics.models)
@ -24,7 +19,6 @@ dependencies {
/** Tests */
testImplementation(deps.test.coroutine)
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
}

View file

@ -8,11 +8,6 @@ plugins {
android {
namespace = "com.tangem.domain.staking"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
api(projects.domain.staking.models)
api(projects.domain.core)
@ -35,7 +30,6 @@ dependencies {
implementation(projects.libs.crypto)
implementation(projects.libs.blockchainSdk)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(tangemDeps.card.core)
testImplementation(projects.common.test)
testImplementation(projects.test.core)

View file

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

View file

@ -7,11 +7,6 @@ plugins {
android {
namespace = "com.tangem.domain.tokens"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Project - Domain */
@ -62,7 +57,6 @@ dependencies {
}
/** Tests */
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(projects.common.test)
testImplementation(projects.test.core)
}

View file

@ -41,12 +41,7 @@ dependencies {
implementation(projects.domain.notifications)
api(projects.domain.networks)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(projects.common.test)
testImplementation(projects.test.core)
testImplementation(projects.test.mock)
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

View file

@ -8,11 +8,6 @@ plugins {
android {
namespace = "com.tangem.domain.visa"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Project - Core */
api(projects.core.pagination)
@ -42,7 +37,6 @@ dependencies {
/** Tests */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.coroutine)
testImplementation(deps.test.truth)

View file

@ -37,7 +37,6 @@ dependencies {
/** Testing libraries */
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(projects.common.test)

View file

@ -60,13 +60,8 @@ dependencies {
// region Tests
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.coroutine)
testImplementation(deps.test.truth)
testImplementation(deps.test.mockk)
// end
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

View file

@ -7,11 +7,6 @@ plugins {
android {
namespace = "com.tangem.domain.yield.supply"
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Core */
implementation(projects.core.ui)
@ -41,7 +36,6 @@ dependencies {
/** tests */
testImplementation(projects.test.core)
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.coroutine)
testImplementation(deps.test.truth)
testImplementation(deps.test.mockk)