SbtPrinter

trait SbtPrinter 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

Companion:
object
trait Printer
class Object
trait Matchable
class Any

Value members

Abstract methods

events handler to notify Sbt of successes/failures

events handler to notify Sbt of successes/failures

def eventsOnly: Boolean

specifies if only sbt events must be emitted

specifies if only sbt events must be emitted

def loggers: Array[Logger]

sbt loggers to display text

sbt loggers to display text

Concrete methods

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

use 2 Folds:

use 2 Folds:

  • one for logging messages to the console
  • one for registering sbt events
def textSink(env: Env, spec: SpecStructure): AsyncSink[Fragment]

Inherited methods

def printSpecification(env: Env): SpecificationStructure => Action[Unit]

convenience method to print a SpecificationStructure using the printer's Fold

convenience method to print a SpecificationStructure using the printer's Fold

Inherited from:
Printer

Concrete fields

lazy val textPrinter: TextPrinter.type