Found it:
import org.specs2.mutable.SpecificationWithJUnit
trait TestSuite extends SpecificationWithJUnit {
...
}
class ConcreteTest extends TestSuite {
skipAll
}
Reference: ArgumentsShortcuts
/**
* shortcut to skip all examples
*/
def skipAll: Arguments = args(skipAll = ArgProperty(true))
This trait is transitively inherited to SpecificationWithJunit
via the path: SpecificationWithJunit -> Specification -> SpecificationLike -> SpecificationCreation -> ArgumentsShortcuts
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…