Packages

c

zio.test

DefaultRunnableSpec

abstract class DefaultRunnableSpec extends RunnableSpec[TestEnvironment, Any]

A default runnable spec that provides testable versions of all of the modules in ZIO (Clock, Has[Random], etc).

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultRunnableSpec
  2. RunnableSpec
  3. AbstractRunnableSpec
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultRunnableSpec()

Type Members

  1. type Environment = TestEnvironment
    Definition Classes
    RunnableSpecAbstractRunnableSpec
  2. type Failure = Any
    Definition Classes
    RunnableSpecAbstractRunnableSpec

Abstract Value Members

  1. abstract def spec: ZSpec[Environment, Failure]
    Definition Classes
    AbstractRunnableSpec

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def aspects: List[WithOut[Nothing, TestEnvironment, Nothing, Any, [Env]Env, [Err]Err]]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def main(args: Array[String]): Unit

    A simple main function that can be used to run the spec.

    A simple main function that can be used to run the spec.

    Definition Classes
    RunnableSpec
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def run(implicit trace: ZTraceElement): ZIO[ZEnv with Has[ZIOAppArgs], Any, Any]

    Returns an effect that executes the spec, producing the results of the execution.

    Returns an effect that executes the spec, producing the results of the execution.

    Definition Classes
    AbstractRunnableSpec
  18. def runner: TestRunner[TestEnvironment, Any]
  19. final def runtimeConfig: RuntimeConfig

    The runtime configuration used by the runner.

    The runtime configuration used by the runner.

    Definition Classes
    AbstractRunnableSpec
  20. def suite[In](label: String)(specs: In*)(implicit suiteConstructor: SuiteConstructor[In], trace: ZTraceElement): Spec[OutEnvironment, OutError, OutSuccess]

    Builds a suite containing a number of other specs.

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def test[In](label: String)(assertion: => In)(implicit testConstructor: TestConstructor[Nothing, In], trace: ZTraceElement): Out

    Builds a spec with a single test.

  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. final def platform: RuntimeConfig

    the platform used by the runner

    the platform used by the runner

    Definition Classes
    AbstractRunnableSpec
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use runtimeConfig

  2. def suiteM[R, E, T](label: String)(specs: ZIO[R, E, Iterable[Spec[R, E, T]]])(implicit trace: ZTraceElement): Spec[R, E, T]

    Builds an effectual suite containing a number of other specs.

    Builds an effectual suite containing a number of other specs.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suite

  3. def testM[R, E](label: String)(assertion: => ZIO[R, E, TestResult])(implicit trace: ZTraceElement): ZSpec[R, E]

    Builds a spec with a single effectful test.

    Builds a spec with a single effectful test.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use test

Inherited from AbstractRunnableSpec

Inherited from AnyRef

Inherited from Any

Ungrouped