Added back a Scope trait for 5.x
Version 5 dropped the Scope
trait for mutable specifications, to initialize some values and make them accessible to examples in mutable specifications.
That trait is now back as org.specs2.execute.Scope
:
class MySpec extends mutable.Specification:
"e1" in new MyScope:
someValue === 1
trait MyScope extends Scope:
val someValue: Int = 1