org.specs.runner.ConsoleReporter

trait ConsoleReporter

trait ConsoleReporter

 extends OutputReporter with ConsoleOutput


Implementation of the OutputReporter with a ConsoleOutput and a SimpleTimer


Source: Reporter.scala(183)

Direct Known Subclasses

Console,

 Fields

timer val timer
this timer uses java Calendar to compute hours, minutes, seconds and milliseconds
SimpleTimer

 Methods

!= final def !=(arg0 : Any) Boolean Any
!= final def !=(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Any) Boolean Any
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
finalize protected def finalize Unit AnyRef
flush def flush
flushes the content if necessary
Unit ConsoleOutput
getClass final def getClass Class[Object] AnyRef
hashCode def hashCode Int AnyRef
isInstanceOf final def isInstanceOf[T0] Boolean Any
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
printStackTrace def printStackTrace(t : Throwable)
prints stacktraces
Unit Output
printStats def printStats(sut : Sut, padding : String)
prints the statistics for a sut
Unit OutputReporter
printStats def printStats(stat : (Int, Int, Int, Int, Int), padding : String)
prints the statistics for a specification
Unit OutputReporter
printSut def printSut(sut : Sut, padding : String)
prints one sut specification
Unit OutputReporter
printf def printf(format : String, args : Any*)
prints several objects according to a format string (see Console [details]
printf)
Unit ConsoleOutput
println def println(m : Any)
prints an object with a newline
Unit ConsoleOutput
report def report(specs : Iterable[Specification], padding : String)
reports a list of specifications with a given space separator to display before the results [details]

This method may be called recursively by the reportSpec method if a specification has subSpecifications, hence the padding will be incremented
Unit OutputReporter
report def report(specs : Iterable[Specification])
reports a list of specifications
Unit OutputReporter
reportExample def reportExample(example : Example, padding : String)
reports one example: + if it succeeds, x if it fails, its description, its failures or errors
Unit OutputReporter
reportExamples def reportExamples(examples : Iterable[Example], padding : String)
reports a list of examples and indent subexamples if there are some
Unit OutputReporter
reportSpec def reportSpec(spec : Specification, padding : String)
reports a specification with a given space separator to display before the results [details]

This method may be called recursively by the reportSpec method if a specification has subSpecifications, hence the padding will be incremented
Unit OutputReporter
reportSpec def reportSpec(spec : Specification)
reports a specification with no padding
Unit OutputReporter
reportSut def reportSut(sut : Sut, padding : String)
reports one sut results: print the sut specifications, then the statistics
Unit OutputReporter
reportSuts def reportSuts(suts : Iterable[Sut], padding : String)
reports the sut results [details]
If there are more than one, then report stats for each else just print the specification of the sut, the parent specification will display the total for that sut
Unit OutputReporter
setNoStacktrace def setNoStacktrace Unit OutputReporter
stats def stats(example : Example)
[details]
return
- the number of examples, assertions, failures and errors for an example by collecting those numbers on this example and on sub-examples
(Int, Int, Int, Int, Int) OutputReporter
stats def stats(spec : Specification)
[details]
return
- the number of examples, assertions, failures and errors for a specification by collecting those numbers on sub-specifications and suts
(Int, Int, Int, Int, Int) OutputReporter
stats def stats(sut : Sut)
[details]
return
- the number of examples, assertions, failures and errors for a sut by collecting those numbers on examples
(Int, Int, Int, Int, Int) OutputReporter
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toAddableTuple implicit def toAddableTuple(t1 : (Int, Int, Int, Int, Int))
utility implicit definition to be able to add tuples
AddableTuple OutputReporter
toString def toString String AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2007-2008. All Rights Reserved.