tim
06/02/2021, 12:01 PMtim
06/02/2021, 12:03 PMtim
06/02/2021, 12:05 PMpackage glimpse.e2e
import io.kotest.core.spec.style.FreeSpec
import io.kotest.extensions.gherkin.GherkinExtension
import io.kotest.matchers.booleans.shouldBeTrue
class HelloWorld : FreeSpec({
extension(GherkinExtension("HelloWorld.feature"))
"its alive" - {
"A" - {
"B" {
true.shouldBeTrue()
}
}
}
})
sam
06/02/2021, 12:19 PMLeoColman
06/02/2021, 12:54 PMtim
06/02/2021, 12:54 PMLeoColman
06/02/2021, 12:55 PMLeoColman
06/02/2021, 12:55 PMtim
06/02/2021, 12:56 PMLeoColman
06/02/2021, 12:57 PMLeoColman
06/02/2021, 12:57 PMresources
directory from your test source set. You can also provide relative pathtim
06/02/2021, 12:57 PMsrc/test/kotlin/resources/HelloWorld.feature
LeoColman
06/02/2021, 12:57 PMLeoColman
06/02/2021, 12:58 PMtim
06/02/2021, 12:58 PMLeoColman
06/02/2021, 12:59 PMjavaClass.classLoader.getResourceAsStream(featureFilePath)!!.bufferedReader().readText()
Could you check if youcan load the file this way?tim
06/02/2021, 1:01 PMtim
06/02/2021, 1:01 PMtim
06/02/2021, 1:02 PMsam
06/02/2021, 1:02 PMsam
06/02/2021, 1:02 PMtim
06/02/2021, 1:03 PMLeoColman
06/02/2021, 1:10 PMsrc/main/resources
? I'm trying to check something with the classpathtim
06/02/2021, 1:12 PMtim
06/02/2021, 1:13 PMtim
06/02/2021, 1:13 PMsrc/main/kotlin/resources
thoughsam
06/02/2021, 1:14 PMsam
06/02/2021, 1:14 PMtim
06/02/2021, 1:17 PMtim
06/02/2021, 1:18 PMsam
06/02/2021, 1:18 PMtim
06/02/2021, 1:19 PMtim
06/02/2021, 1:19 PMLeoColman
06/02/2021, 1:20 PMtim
06/02/2021, 1:22 PMtim
06/02/2021, 1:22 PMLeoColman
06/02/2021, 1:24 PMtim
06/02/2021, 1:25 PM