TextRunner

org.specs2.runner.TextRunner
object TextRunner extends ClassRunner

Test runner to simulate a console run

Attributes

Graph
Supertypes
trait ClassRunner
class Object
trait Matchable
class Any
Self type
TextRunner.type

Members list

Value members

Concrete methods

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

accepted printers

accepted printers

Attributes

Definition Classes
def run(spec: SpecificationStructure, args: Arguments)(env: Env): LineLogger & StringOutput

Inherited methods

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

custom or default reporter

custom or default reporter

Attributes

Inherited from:
ClassRunner
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

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

report the specification

report the specification

Attributes

Inherited from:
ClassRunner
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

Inherited from:
ClassRunner
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

Inherited from:
ClassRunner