trait TestAssertions extends AnyRef
Provides versions of assertions from _ZIO Test_ that use Equal
, Ord
, and
Validation
.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TestAssertions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def equalTo[A](expected: A)(implicit arg0: Equal[A]): test.Assertion[A]
Makes a new assertion that requires a value equal the specified value.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.