Is anyone using the 'after' block? I ask because I...
# minutest
d
Is anyone using the 'after' block? I ask because I've been experimenting with mapping a sequence of fixture into a single test (for property-based tests, fuzz tests etc) and when I do it becomes awkward to deal with errors, unless any one test failure results in bailing everything, and not being able to release any resources in after. What I think should happen is that the after block takes a SequenceResult<F> - https://github.com/dmcg/minutest/blob/master/core/src/main/kotlin/dev/minutest/internal/SequenceResult.kt This gives access to the last known value of the fixture as well as any error.