Packages

c

zio.test

RunnableSpec

abstract class RunnableSpec[R, E] extends AbstractRunnableSpec

A RunnableSpec has a main function and can be run by the JVM / Scala.js.

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

Instance Constructors

  1. new RunnableSpec()

Type Members

  1. type Environment = R
    Definition Classes
    RunnableSpecAbstractRunnableSpec
  2. type Failure = E
    Definition Classes
    RunnableSpecAbstractRunnableSpec

Abstract Value Members

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

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

  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. 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
  17. final def runtimeConfig: RuntimeConfig

    The runtime configuration used by the runner.

    The runtime configuration used by the runner.

    Definition Classes
    AbstractRunnableSpec
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. 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

Inherited from AbstractRunnableSpec

Inherited from AnyRef

Inherited from Any

Ungrouped