Closed xerial closed 4 years ago
class A extends AirSpec { override protected def design = newDesign.bind[X].toInstance(x) private var x:X; protected def beforeAll(x:X) { this.x = x } def test = { // use x } def test2 = { // use x } }
@shimamoto Does this work for your use cases?
I'll close this ticket in favor of the new test(..., design = ...) syntax #876
test(..., design = ...)