https://kotlinlang.org logo
#kotest-contributors
Title
# kotest-contributors
s

sam

05/19/2021, 3:46 PM
Any thoughts on the next release being 5.0 and removing all the deprecated stuff we've built up over the 18 months of 4.x
r

reevn

05/20/2021, 11:59 AM
What are your thoughts on consolidating
beforeTest
/
beforeAny
in the major version? What was there before: • `beforeTest`: runs before any leaf test or container What was added in 4.2: • `beforeEach`: runs before any leaf test •
beforeContainer:
runs before any container • `beforeAny`: runs before any leaf test or contaner, same as
beforeTest
The name
beforeEach
was chosen because it's standard naming for it in many other testing frameworks and because
beforeTest
was taken, but it is a bit confusing that both still exist. What's your take on this? 🙂
l

LeoColman

05/20/2021, 1:18 PM
with 5.0 I'd suggest replacing InstancePerSpec with InstancePerTest
as the default behaviour
s

sam

05/20/2021, 1:31 PM
I like the idea of deprecating beforeTest to clean things up
👍 1
4 Views