Packages

t

zio.prelude

TestAssertions

trait TestAssertions extends AnyRef

Provides versions of assertions from _ZIO Test_ that use Equal, Ord, and Validation.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestAssertions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def equalTo[A](expected: A)(implicit arg0: Equal[A]): test.Assertion[A]

    Makes a new assertion that requires a value equal the specified value.

  2. def isFailureV[E](assertion: test.Assertion[NonEmptyChunk[E]]): test.Assertion[ZValidation[Any, E, Any]]

    Makes a new assertion that requires a validation failure satisfying a specified assertion.

  3. def isGreaterThan[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]

    Makes a new assertion that requires the value be greater than the specified reference value.

  4. def isGreaterThanEqualTo[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]

    Makes a new assertion that requires the value be greater than or equal to the specified reference value.

  5. def isLessThan[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]

    Makes a new assertion that requires the value be less than the specified reference value.

  6. def isLessThanEqualTo[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]

    Makes a new assertion that requires the value be less than or equal to the specified reference value.

  7. def isSuccessV[A](assertion: test.Assertion[A]): test.Assertion[ZValidation[Any, Any, A]]

    Makes a new assertion that requires a validation failure satisfying a specified assertion.