Packages

  • package root
    Definition Classes
    root
  • package zio
    Definition Classes
    root
  • package test

    _ZIO Test_ is a featherweight testing library for effectful programs.

    _ZIO Test_ is a featherweight testing library for effectful programs.

    The library imagines every spec as an ordinary immutable value, providing tremendous potential for composition. Thanks to tight integration with ZIO, specs can use resources (including those requiring disposal), have well- defined linear and parallel semantics, and can benefit from a host of ZIO combinators.

    import zio.test._
    import zio.test.environment.Live
    import zio.Clock.nanoTime
    import Assertion.isGreaterThan
    
    object MyTest extends DefaultRunnableSpec {
      def spec = suite("clock")(
        test("time is non-zero") {
          assertM(Live.live(nanoTime))(isGreaterThan(0))
        }
      )
    }
    Definition Classes
    zio
  • package internal
    Definition Classes
    test
  • package myers
    Definition Classes
    internal
  • LowPriOptionalImplicit
  • OptionalImplicit
  • SmartAssertions
o

zio.test.internal

SmartAssertions

object SmartAssertions

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def as[A, B](implicit CB: ClassTag[B]): Arrow[A, B]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asLeft[A]: Arrow[Either[A, _], A]
  7. def asRight[A]: Arrow[Either[_, A], A]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def containsOption[A](value: A): Arrow[Option[A], Boolean]
  10. def containsSeq[A](value: A): Arrow[Seq[A], Boolean]
  11. def containsString(value: String): Arrow[String, Boolean]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equalTo[A](that: A)(implicit diff: OptionalImplicit[Diff[A]]): Arrow[A, Boolean]
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def existsIterable[A](predicate: Arrow[A, Boolean]): Arrow[Iterable[A], Boolean]
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def forallIterable[A](predicate: Arrow[A, Boolean]): Arrow[Iterable[A], Boolean]
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def greaterThan[A](that: A)(implicit ordering: Ordering[A]): Arrow[A, Boolean]
  20. def greaterThanOrEqualTo[A](that: A)(implicit ordering: Ordering[A]): Arrow[A, Boolean]
  21. def hasAt[A](index: Int): Arrow[Seq[A], A]
  22. def hasKey[K, V](key: K): Arrow[Map[K, V], V]
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def head[A]: Arrow[Iterable[A], A]
  25. def is[A, B](implicit CB: ClassTag[B]): Arrow[A, Boolean]
  26. def isDefinedOption[A]: Arrow[Option[A], Boolean]
  27. def isEmptyIterable[A]: Arrow[Iterable[A], Boolean]
  28. def isEmptyOption[A]: Arrow[Option[A], Boolean]
  29. def isEven[A](implicit integral: Integral[A]): Arrow[A, Boolean]
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def isNonEmptyIterable[A]: Arrow[Iterable[A], Boolean]
  32. def isOdd[A](implicit integral: Integral[A]): Arrow[A, Boolean]
  33. def isSome[A]: Arrow[Option[A], A]
  34. def lessThan[A](that: A)(implicit ordering: Ordering[A]): Arrow[A, Boolean]
  35. def lessThanOrEqualTo[A](that: A)(implicit ordering: Ordering[A]): Arrow[A, Boolean]
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. val throws: Arrow[Any, Throwable]
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped