TestResult

libretto.testing.TestResult$
See theTestResult companion enum
object TestResult

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
TestResult.type

Members list

Type members

Classlikes

enum Failure

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def crash[A](e: Throwable): TestResult[A]
def failed[A](using pos: SourcePos)(msg: String, error: Option[Throwable]): TestResult[A]
def failures[A](e: Failure, es: Failure*): TestResult[A]
def success[A](a: A): TestResult[A]
def timedOut[A](duration: FiniteDuration): TestResult[A]