I've just released v0.22.0 with the delayed-fixtur...
# minutest
d
I've just released v0.22.0 with the delayed-fixture-gratification. If you were translating from parent to child fixture type you should now use
mapFixture
or
fixture_
. In return you should now be able to not set a fixture in an outer context provided that there are no befores, afters or tests
Copy code
@TestFactory fun `copes with no fixture if context has no operations`() = junitTests<Pair<Int, String>> {
        context("supplies the fixture") {
            fixture {
                42 to "the answer"
            }
            test("test") {
                assertEquals(42, this.first)
            }
        }
    }