Skip to content

Commit b6ec39e

Browse files
committed
build: Introduce the Kotest property testing dependency
See [1]. Going forward, as an experiment some tests will be convered to use arbitrary (reflective) values [2] where no fixed empty / dummy values are strictly needed, to emphasize the invariance on those inputs. [1]: https://kotest.io/docs/proptest/property-based-testing.html [2]: https://kotest.io/docs/proptest/reflective-arbs.html Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 6e6fd7c commit b6ec39e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

buildSrc/src/main/kotlin/ort-kotlin-conventions.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ testing {
6161
implementation(project(":utils:test-utils"))
6262

6363
implementation(libs.kotest.assertions.core)
64+
implementation(libs.kotest.property)
6465
implementation(libs.kotest.runner.junit5)
6566
}
6667
}

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ kotest-extensions = { module = "io.kotest:kotest-extensions", version.ref = "kot
133133
kotest-extensions-junitXml = { module = "io.kotest:kotest-extensions-junitxml", version.ref = "kotest" }
134134
kotest-framework-datatest = { module = "io.kotest:kotest-framework-datatest", version.ref = "kotest" }
135135
kotest-framework-engine = { module = "io.kotest:kotest-framework-engine", version.ref = "kotest" }
136+
kotest-property = { module = "io.kotest:kotest-property", version.ref = "kotest" }
136137
kotest-runner-junit5 = { module = "io.kotest:kotest-runner-junit5", version.ref = "kotest" }
137138
kotlinpoet = { module = "com.squareup:kotlinpoet", version.ref = "kotlinPoet"}
138139
kotlinpoet-ksp = { module = "com.squareup:kotlinpoet-ksp", version.ref = "kotlinPoet"}

0 commit comments

Comments
 (0)