ClassRunner

org.specs2.runner.ClassRunner
See theClassRunner companion object
trait ClassRunner

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

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object run.type
object ClassRunner.type
object TextRunner.type
object consoleRunner.type

Members list

Value members

Concrete methods

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

accepted printers

accepted printers

Attributes

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

custom or default reporter

custom or default reporter

Attributes

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

Attributes

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

report the specification

report the specification

Attributes

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

Attributes

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

Attributes