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

sam

09/23/2021, 2:10 PM
Can I get a quick look over the lifecycle docs I have added. Just seeing if they're readable, and if any suggestions on naming changes. https://kotest.io/docs/framework/spec-lifecycle.html
e

Emil Kantis

09/23/2021, 2:37 PM
I’ll read them over tonight
Extensive pre-test lifecycle 🙂 I think it gave a good overview.. I would consider removing “any” before all classes, but I’m a non-english speaker so take my input with a grain of salt. Also, it’s not completely clear to me whether how
isolationMode
plays into everything.
Note: For each isolated spec, a fresh spec instance will be created and the
PostInstantiationExtension
,
SpecCreatedListener
,
SpecCreationErrorListener
,
SpecInterceptExtension
,
BeforeSpecListener
and
AfterSpecListener
callbacks will be repeated.
Do they get their own coroutines if isolated? And at what time do they “fork”? Will changes to the context in
SpecLaunchExtensions
propagate to every isolated instance of the spec? I haven’t been using coroutines a lot, so maybe this is obvious to more experienced coroutine-users 🙂
s

sam

09/23/2021, 5:15 PM
great comments thanks, I will make changes