Add the library to the project:
testImplementation("br.com.colman:kotest-extensions-h2:VERSION")
Add the extension to a test where you're using H2
class MyTest : FunSpec({
val extension = extension(H2Extension())
test("My h2 test") {
val dataSource = extension.dataSource
// ...
}
})