Michael Strasser
02/02/2024, 2:54 AMArb.create(fn)
function in Kotest 5.8.0, even though it is still shown on the Generators List page of the docs.Emil Kantis
02/03/2024, 8:31 PMMichael Strasser
02/04/2024, 10:42 AMArb.bind()
but only want to specify one Arb
type. What am I missing?Emil Kantis
02/04/2024, 10:51 AMMichael Strasser
02/04/2024, 11:07 AMval genMessage = Arb.string(1, 120)
val genException = Arb.bind(listOf(genMessage)) { messages -> Exception(messages.first()).fillInStackTrace() }
Is there a better way to specify an exception generator?Emil Kantis
02/04/2024, 11:23 AMval genException = Arb.string(1, 120).map { message -> Exception(message).fillInStackTrace() }
Michael Strasser
02/04/2024, 11:28 AMmap()
function. It shows I need to read more of the documentation.Emil Kantis
02/04/2024, 11:39 AM