btw I'm struggling a bit on how to better translate a test for minutest:
I have an this action type where R is the expected result of the action:
interface Action<R> {
fun execute(c: Context): R =...
}
what I want to do in my tests is to take a bunch of actions and test them on different context:
fun `test to test stuff`{
val actions = listOf(doThis, doThat, ...)
actions.testWith(Context1, Context2)
}
this works for me, but I'm not using the fixture at all.
I wonder if there is a better way to do it...
thanks