Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Use Kotlin-test runtime for arrow-fx-stm tests #3224

Merged
merged 14 commits into from
Oct 25, 2023
Merged
25 changes: 6 additions & 19 deletions arrow-libs/fx/arrow-fx-stm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {
alias(libs.plugins.arrowGradleConfig.kotlin)
alias(libs.plugins.arrowGradleConfig.publish)
alias(libs.plugins.kotlinx.kover)
alias(libs.plugins.kotest.multiplatform)
alias(libs.plugins.spotless)
}

Expand All @@ -22,33 +21,17 @@ kotlin {
commonMain {
dependencies {
api(projects.arrowCore)
compileOnly(libs.kotlin.stdlibCommon)
implementation(libs.coroutines.core)
}
}

commonTest {
dependencies {
implementation(projects.arrowFxCoroutines)
implementation(libs.kotest.frameworkEngine)
implementation(libs.kotest.assertionsCore)
implementation(libs.kotest.property)
}
}
jvmTest {
dependencies {
runtimeOnly(libs.kotest.runnerJUnit5)
}
}

jvmMain {
dependencies {
implementation(libs.kotlin.stdlib)
}
}
jsMain {
dependencies {
implementation(libs.kotlin.stdlibJS)
implementation(libs.kotlin.test)
implementation(libs.coroutines.test)
}
}
}
Expand All @@ -61,3 +44,7 @@ kotlin {
}
}
}

tasks.withType<Test> {
useJUnitPlatform()
}

This file was deleted.

Loading