Formatter

utest.framework.Formatter
See theFormatter companion object
trait Formatter

Default implementation of Formatter, also used by the default SBT test framework. Allows some degree of customization of the formatted test results.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Formatter
class Framework

Members list

Value members

Concrete methods

def assertPrettyPrinter(x: Any, height: Int): Str

Override this to customize how values are written to the console during assert errors

Override this to customize how values are written to the console during assert errors

Attributes

def exceptionStackFrameHighlighter(s: StackTraceElement): Boolean
def formatColor: Boolean
def formatException(x: Throwable, leftIndent: String): Str
def formatIcon(success: Boolean): Str
def formatResultColor(success: Boolean): Attrs
def formatSingle(path: Seq[String], r: Result): Option[Str]
def formatSummary(topLevelName: String, results: HTree[String, Result]): Option[Str]
def formatValue(x: Any): Str
def formatWrapWidth: Int
def goldenLiteralPrinter(x: Any): String

Override this to customize how values are written to source files during assertGoldenLiteral updates

Override this to customize how values are written to source files during assertGoldenLiteral updates

Attributes

def joinLineStr(lines: Seq[Str], leftIndent: String): Str
def lineWrapInput(input: Str, leftIndent: String): Seq[Str]
def wrapLabel(leftIndentCount: Int, r: Result, label: String): Str