Victor Cardona
06/09/2023, 4:38 PMVictor Cardona
06/09/2023, 4:39 PMVictor Cardona
06/09/2023, 5:31 PMwithData(listOf("a", "b", "c")) {
it("should contain single character") { ... }
it("should be lowercase") { .. }
}
When I try to do something like that either directly or via a test factory I get a io.kotest.core.spec.InvalidDslException: Cannot add a root test after the spec has been instantiated
sam
06/09/2023, 5:39 PMVictor Cardona
06/09/2023, 5:40 PMsam
06/09/2023, 5:40 PMsam
06/09/2023, 6:24 PMsam
06/09/2023, 6:24 PMsam
06/09/2023, 6:24 PMlistOf("a", "b", "c").foreach {
it("should contain single character") { ... }
it("should be lowercase") { .. }
}
Victor Cardona
06/09/2023, 6:25 PMEmil Kantis
06/09/2023, 7:57 PM