Open kamilkloch opened 1 year ago
Thanks for opening the issue. Which version is this? Can you replicate with the 2.x milestone? https://github.com/typelevel/munit-cats-effect/releases/tag/v2.0.0-M1
Forgot to add: I am using v2.0.0-M1.
Thanks for clarifying. Sorry, one more question: can you reproduce this without IO
and munit-cats-effect
? I have a hunch this is a question for munit itself.
See the docs here: https://github.com/scalameta/munit/blob/main/docs/fixtures.md#reusable-suite-local-fixtures
@armanbilge It looks like the munit matter indeed: https://github.com/scalameta/munit/issues/573
Can this issue be solved ? As the seen behaviour is the intended one ? ~But the linked munit issues (https://github.com/scalameta/munit/issues/573) is still open, too...~ it got closed in the meantime
The following code
produces
Changing
beforeAll()
toresults in
It looks that suite local resource is allocated after
beforeAll
and released afterafterAll
. Is this the desired behavior?