Assertion

zio.test.Assertion
See theAssertion companion object
final case class Assertion[-A](arrow: TestArrow[A, Boolean])

Attributes

Companion
object
Source
Assertion.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

def &&[A1 <: A](that: Assertion[A1]): Assertion[A1]

Attributes

Source
Assertion.scala
def ??(message: String): Assertion[A]

Attributes

Source
Assertion.scala
def label(message: String): Assertion[A]

Attributes

Source
Assertion.scala
def negate: Assertion[A]

Attributes

Source
Assertion.scala
def render: String

Attributes

Source
Assertion.scala
def run(value: => A)(implicit sourceLocation: SourceLocation): TestResult

Attributes

Source
Assertion.scala
def test(value: A)(implicit sourceLocation: SourceLocation): Boolean

Attributes

Source
Assertion.scala
def unary_!: Assertion[A]

Attributes

Source
Assertion.scala
def ||[A1 <: A](that: Assertion[A1]): Assertion[A1]

Attributes

Source
Assertion.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product