Ranie Jade Ramiso
Ranie Jade Ramiso
@bangarharshit thanks, as much as possible we prefer to decouple the implementation from JUnit. The idea is to implement it using Spek's API. We provide `@CreateWith` probably a good place...
It's the first time i heard about `@AutoCleanup`, interesting. For now you have to do it manually using the `beforeEach` and `afterEach` fixtures.
Hey @SalomonBrys thanks for the PR, unfortunately there are some changes happening in the codebase (we are upgrading to JUnit 5) that will render #100 invalid. If you want to...
With #102 we can easily add an extension method for cleaning up resources. ``` kotlin fun Dsl.resource(mode: CachingMode = CachingMode.TEST: factory() -> T): Memoized { val memoized = memoized(mode, factory)...
@dalewking wow, that's a great idea. I was looking into how to prevent passing another lambda argument.
It's doable. Yeah that's one way to do it: ```kotlin val directory: File by memoized { createAndFillDirectory() .whenDone { deleteRecursively() } } ``` Works as (w/ #214 memoized will not...
Can you add a small snippet of code? I think it will make things clearer to understand.
One option is to add a `lazy` parameter to `memoized`, which defaults to `true`. I'll take a look at it more when I get back from vacation next week. Feel...
The other plugin (`Spek`) can't be removed yet, so I guess we could update the description of `Spek Framework` to say something like: `Plugin for Spek 2`.
Closing as duplicate of #814