Sam

Results 482 comments of Sam

beforeTest is a confusing name but as @Reevn says, history. I'd love it if beforeTest was only leaf, but alas. beforeScope is a good name I think because the lambdas...

Yeah it's just a matter of choosing a good name. beforeScope / setup / teardown / etc, Something like beforeThisContainerOnly is descriptive but ugly.

What about just `before` ?

Good point. I go back to my previous suggestion of beforeScope then On Tue, Mar 29, 2022, 9:36 AM Bryan Donovan ***@***.***> wrote: > Good point @Reevn > > —...

> The below works as a "before" hook, but there's no clean equivalent "after" hook. You should just be able to put your after code literally after the test blocks...

I guess you could say that about any code :)

Yep, that I agree with.

If we're talking about just having a random source in general, then we can add `seed` and `random` to the test structure in Kotest. So that any test, whether a...

> Instead of providing the actual random source from the framework, my suggestion is to create a new Random, seeding it it from the frameworks random source, and injecting the...

Great! On Tue, 30 Aug 2022 at 06:47, Mitchell Yuwono ***@***.***> wrote: > Sorry for the significant delays @sksamuel > I've been occupied with various things in life.. I'll look...