<@U0B94AR3J> you asked a long time ago about refer...
# minutest
d
@robfletcher you asked a long time ago about referencing the fixture as
it
. I've been playing and think that I can do this
Copy code
data class Fruit(val name: String)
        data class Conserve(val type: String, val fruit: Fruit)

        junitTests<Fruit> {

            fixture {
                Fruit("blackcurrent")
            }

            derivedContext<Conserve>("inner") {

                deriveFixture {
                    assertEquals("blackcurrent", this.name)
                    assertEquals("blackcurrent", it.name)
                    assertEquals("blackcurrent", parentFixture.name)
                    // Doesn't compile
                    // assertEquals("blackcurrent", fixture.name)
                    Conserve("jam", parentFixture)
                }

                test("test") {
                    assertEquals("jam", this.type)
                    assertEquals("jam", it.type)
                    assertEquals("jam", fixture.type)
                    // Doesn't compile
                    // assertEquals("blackcurrent jam", parentFixture.fruit)
                }
            }
        }
r
So
this
and
it
would point to the same thing?