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.clock.nanoTime
    import Assertion.isGreaterThan
    
    object MyTest extends DefaultRunnableSpec {
      def spec = suite("clock")(
        testM("time is non-zero") {
          assertM(nanoTime)(isGreaterThan(0))
        }
      )
    }
    Definition Classes
    zio
  • package mock
    Definition Classes
    test
  • package internal
    Definition Classes
    mock
  • InvalidCall
  • MockException
  • ProxyFactory
p

zio.test.mock

internal

package internal

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed abstract class InvalidCall extends AnyRef

    An InvalidCall represents failed expectation.

  2. sealed abstract class MockException extends Throwable

    A MockException is used internally by the mock framework to signal failed expectations to the test framework.

Value Members

  1. object InvalidCall
  2. object MockException extends Serializable
  3. object ProxyFactory

Ungrouped