TestResultLogger

sbt.TestResultLogger
See theTestResultLogger companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Defaults

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Defaults.type

Value members

Concrete methods

Twist on the default which is completely silent when the subject module doesn't contain any tests.

Twist on the default which is completely silent when the subject module doesn't contain any tests.

Attributes

def apply(f: (Logger, Output, String) => Unit): TestResultLogger

Creates a TestResultLogger using a given function.

Creates a TestResultLogger using a given function.

Attributes

def choose(cond: (Output, String) => Boolean, t: TestResultLogger, f: TestResultLogger): TestResultLogger

Selects a TestResultLogger based on a given predicate.

Selects a TestResultLogger based on a given predicate.

Value parameters

f

The TestResultLogger to choose if the predicate fails.

t

The TestResultLogger to choose if the predicate passes.

Attributes

def const(f: Logger => Unit): TestResultLogger

Creates a TestResultLogger that ignores its input and always performs the same logging.

Creates a TestResultLogger that ignores its input and always performs the same logging.

Attributes

Transforms the input to be completely silent when the subject module doesn't contain any tests.

Transforms the input to be completely silent when the subject module doesn't contain any tests.

Attributes

Concrete fields

val Default: Main

sbt's default TestResultLogger. Use copy() to change selective portions.

sbt's default TestResultLogger. Use copy() to change selective portions.

Attributes

A TestResultLogger that does nothing.

A TestResultLogger that does nothing.

Attributes