ClassRunner

The class runner expects the first command-line argument to be the class name of a specification to execute

Companion:
object
class Object
trait Matchable
class Any
object ClassRunner.type
object TextRunner.type
object consoleRunner.type
object run.type

Value members

Concrete methods

def createPrinters(args: Arguments, loader: ClassLoader): Operation[List[Printer]]

accepted printers

accepted printers

def createReporter(args: Arguments, loader: ClassLoader): Operation[Reporter]

custom or default reporter

custom or default reporter

def createSpecification(className: String, classLoader: ClassLoader, env: Option[Env]): Operation[SpecificationStructure]

create the specification from the class name

create the specification from the class name

def report(env: Env): SpecificationStructure => Action[Stats]

report the specification

report the specification

def run(args: Array[String]): Unit

run a specification but don't exit with System.exit

run a specification but don't exit with System.exit

def run(args: Array[String], exit: Boolean): Unit

run the specification, the first argument is expected to be the specification name

run the specification, the first argument is expected to be the specification name