Hey folks, we’re using Kotest and was wondering if...
# announcements
p
Hey folks, we’re using Kotest and was wondering if there’s a library or a way of writing fixtures that other folks seem to like and enjoy?
r
I like the sheer simplicity of StringSpec
There’s a #kotest channel btw
👍 1
p
oh neat! We use describe spec but was wondering if there’s some cool way to define fixtures. we’re just using functions w/ default values
in scala, i’d often have a default template and invoke copy on it (for case classes or data classes in case of kotlin)
s
You can just use a normal val outside the tests and copy that inside the test. Same thing as a fixture