JUnitRunner

org.specs2.runner.JUnitRunner
class JUnitRunner(klass: Class[_]) extends Runner, Filterable

Runner for specs2 specifications

Attributes

Graph
Supertypes
trait Filterable
class Runner
trait Describable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

def createJUnitPrinter(specStructure: SpecStructure, n: RunNotifier, ee: ExecutionEnv): JUnitPrinter

create a printer for a specific specification structure The printer needs to know about all the example descriptions beforehand

create a printer for a specific specification structure The printer needs to know about all the example descriptions beforehand

Attributes

def filter(filter: Filter): Unit

This is used to filter out the entire specification based on categories annotations

This is used to filter out the entire specification based on categories annotations

if the more fine-grained filtering is needed tags must be used

Attributes

def getDescription(env: Env): Description
def run(n: RunNotifier): Unit

run the specification with a Notifier

run the specification with a Notifier

Attributes

def runWithEnv(n: RunNotifier, env: Env): Action[Stats]

run the specification with a Notifier and an environment

run the specification with a Notifier and an environment

Attributes

Inherited methods

def testCount(): Int

Attributes

Inherited from:
Runner

Concrete fields

lazy val arguments: Arguments

command line arguments, extracted from the system properties

command line arguments, extracted from the system properties

Attributes

lazy val env: Env

specification environment

specification environment

Attributes

lazy val getDescription: Description
lazy val specStructure: SpecStructure

specification structure for the environment

specification structure for the environment

Attributes

lazy val specification: SpecificationStructure

specification to execute

specification to execute

Attributes