TestTrace

zio.test.TestTrace
See theTestTrace companion trait
object TestTrace

Attributes

Companion
trait
Source
TestTrace.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
TestTrace.type

Members list

Type members

Classlikes

object Annotation

Attributes

Companion
trait
Source
TestTrace.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Annotation.type
sealed trait Annotation

Attributes

Companion
object
Source
TestTrace.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Rethrow

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def boolean(value: Boolean)(message: ErrorMessage): TestTrace[Boolean]

Attributes

Source
TestTrace.scala
def die(throwable: Throwable): TestTrace[Nothing]

Attributes

Source
TestTrace.scala
def fail(message: String): TestTrace[Nothing]

Attributes

Source
TestTrace.scala
def fail(message: ErrorMessage): TestTrace[Nothing]

Attributes

Source
TestTrace.scala
def option[A](value: Option[A])(message: ErrorMessage): TestTrace[A]

Attributes

Source
TestTrace.scala
def prune(trace: TestTrace[Boolean], negated: Boolean): Option[TestTrace[Boolean]]

Prune all non-failures from the trace.

Prune all non-failures from the trace.

Attributes

Source
TestTrace.scala
def succeed[A](value: A): TestTrace[A]

Attributes

Source
TestTrace.scala

Concrete fields

val fail: TestTrace[Nothing]

Attributes

Source
TestTrace.scala