Closed
Description
Depends on #5092 .
The goal of this ticket is to support:
object MySpec1 extends DefaultRunnableSpec ...
object MySpec2 extends DefaultRunnableSpec...
object MySpec3 extends DefaultRunnableSpec {
def spec = MySpec1 + MySpec2
}
In order to support this, we would probably have to change Spec
from a case class to a trait
with a fold
method that encodes the subtypes of SpecCase
.
Then DefaultRunnableSpec
and friends could implement the abstract methods of the Spec
trait and get operators like +
for free.