Hi! im trying to update to latest `6.0.0.M15` , bu...
# kotest
m
Hi! im trying to update to latest
6.0.0.M15
, but this import/dependencies does not exists anymore?
Copy code
import io.kotest.data.forAll
import io.kotest.data.row
Tried to find any documentation for this, but cannot find anything?
1
CleanShot 2025-08-11 at 15.09.18.png
t
a lot of functions under io.kotest.data are tagged by
@file:Suppress("DEPRECATION")
. What is the alternative for it?
k
I haven't used version 6 yet, but a quick workaround is to use features from Kotlin itself:
Copy code
context("parseDouble") {
    arrayOf(
        "000000000900å" to -90.00,
        ...
    ).forEach { (input, expected) ->
        test("should correctly parse copybook representation '$input' to '$expected'") {
             input.parseDouble shouldBe expected
        }
    }
}
s
You need the assertions-table dep
And they're not deprecated in latest milestone
m
thank you 👍