Expected

scalus.testing.assertions.Expected
See theExpected companion enum
object Expected

Attributes

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

Members list

Type members

Inherited and Abstract 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 failureMatching(predicate: Failure => Boolean): Failure

Expect failure matching a custom predicate

Expect failure matching a custom predicate

Attributes

def failureWith(msg: String): Failure

Expect failure with message substring in logs or exception

Expect failure with message substring in logs or exception

Attributes

def failureWithException[E <: Throwable : ClassTag]: Failure

Expect failure with specific exception type

Expect failure with specific exception type

Attributes

def success[A : LiftValue](value: A): Success

Expect success with a value that can be lifted to Term

Expect success with a value that can be lifted to Term

Attributes

Concrete fields

Expect any failure

Expect any failure

Attributes