SbtPrinter

org.specs2.reporter.SbtPrinter
See theSbtPrinter companion object
case class SbtPrinter(env: Env, loggers: Array[Logger], events: SbtEvents, eventsOnly: Boolean) extends Printer

Text printer for Sbt

It delegates the console printing to a normal text printer but using the Sbt loggers It also publishes events (success, error, skipped, pending) to Sbt

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Printer
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def eventSink(spec: SpecStructure): AsyncSink[Fragment]
def finalize(specifications: List[SpecStructure]): Action[Unit]
def prepare(specifications: List[SpecStructure]): Action[Unit]
def sbtNotifierPrinter(args: Arguments): Printer
def sink(spec: SpecStructure): AsyncSink[Fragment]

use 2 Folds:

use 2 Folds:

  • one for logging messages to the console
  • one for registering sbt events

Attributes

def textSink(spec: SpecStructure): AsyncSink[Fragment]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields