Skip to content

Commit 0aca7a1

Browse files
committed
Upgrade Kotest to 6.0.4 across all modules and add DataTests example for native targets.
1 parent 21b2bcc commit 0aca7a1

File tree

8 files changed

+22
-9
lines changed

8 files changed

+22
-9
lines changed

kotest-allure/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ kotlin {
2626
dependencies {
2727
implementation(kotlin("stdlib"))
2828
implementation(kotlin("reflect"))
29-
testImplementation("io.kotest:kotest-extensions-allure:6.0.1")
30-
testImplementation("io.kotest:kotest-runner-junit5:6.0.1")
29+
testImplementation("io.kotest:kotest-extensions-allure:6.0.4")
30+
testImplementation("io.kotest:kotest-runner-junit5:6.0.4")
3131
}
3232

3333
tasks.withType<Test> {

kotest-android/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ espressoCore = "3.6.1"
1010
appcompat = "1.7.1"
1111
material = "1.12.0"
1212
mockk = "1.13.17"
13-
kotest = "6.0.1"
13+
kotest = "6.0.4"
1414

1515
[libraries]
1616
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }

kotest-javascript/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
kotlin = "2.2.10"
3-
kotest = "6.0.1"
3+
kotest = "6.0.4"
44
ktor = "3.0.1"
55
ksp = "2.2.10-2.0.2"
66

kotest-jvm/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
kotest = "6.0.3"
2+
kotest = "6.0.4"
33
kotlin = "2.2.10"
44

55
[libraries]

kotest-multiplatform/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
agp = "8.11.1"
33
kotlin = "2.2.10"
4-
kotest = "6.0.3"
4+
kotest = "6.0.4"
55
ksp = "2.2.10-2.0.2"
66
android-compileSdk = "36"
77
android-minSdk = "24"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package io.kotest.examples.native
2+
3+
import io.kotest.core.spec.style.FunSpec
4+
import io.kotest.datatest.withData
5+
import io.kotest.matchers.string.shouldNotBeEmpty
6+
7+
class DataTests : FunSpec() {
8+
init {
9+
withData(listOf("foo", "bar", "baz")) {
10+
it.shouldNotBeEmpty()
11+
}
12+
}
13+
}

kotest-spring-webflux/gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[versions]
22
kotlin = "2.2.10"
3-
kotest = "6.0.1"
3+
kotest = "6.0.4"
44

55
[libraries]
66
kotest-runner-junit5 = { module = "io.kotest:kotest-runner-junit5", version.ref = "kotest" }
77
kotest-extensions-spring = { module = "io.kotest:kotest-extensions-spring", version.ref = "kotest" }
88
springmockk = { module = "com.ninja-squad:springmockk", version = "4.0.2" }
99

10-
# Versions managed by Spring dependency management, and thus excluded here
10+
# Versions managed by Spring dependency management and thus excluded here
1111
kotlinx-coroutines-reactor = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-reactor" }
1212
reactor-kotlin-extensions = { module = "io.projectreactor.kotlin:reactor-kotlin-extensions" }
1313
reactor-test = { module = "io.projectreactor:reactor-test" }

kotest-wasm/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
kotlin = "2.2.0"
3-
kotest = "6.0.1"
3+
kotest = "6.0.4"
44

55
[libraries]
66
kotest-assertions-core = { module = "io.kotest:kotest-assertions-core", version.ref = "kotest" }

0 commit comments

Comments
 (0)