Class

zio.test

DefaultRunnableSpec

Related Doc: package test

Permalink

abstract class DefaultRunnableSpec extends RunnableSpec[TestEnvironment, Any]

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

Linear Supertypes
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. All

Instance Constructors

  1. new DefaultRunnableSpec()

    Permalink

Type Members

  1. type Environment = TestEnvironment

    Permalink
    Definition Classes
    RunnableSpecAbstractRunnableSpec
  2. type Failure = Any

    Permalink
    Definition Classes
    RunnableSpecAbstractRunnableSpec

Abstract Value Members

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

    Permalink
    Definition Classes
    AbstractRunnableSpec

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def aspects: List[WithOut[Nothing, TestEnvironment, Nothing, Any, [Env]Env, [Err]Err]]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def main(args: Array[String]): Unit

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def run(implicit trace: ZTraceElement): ZIO[ZEnv with ZIOAppArgs, Any, Any]

    Permalink

    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]

    Permalink
  19. final def runtimeConfig: RuntimeConfig

    Permalink

    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]

    Permalink

    Builds a suite containing a number of other specs.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def test[In](label: String)(assertion: ⇒ In)(implicit testConstructor: TestConstructor[Nothing, In], trace: ZTraceElement): Out

    Permalink

    Builds a spec with a single test.

  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. final def platform: RuntimeConfig

    Permalink

    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]

    Permalink

    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]

    Permalink

    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 RunnableSpec[TestEnvironment, Any]

Inherited from AbstractRunnableSpec

Inherited from AnyRef

Inherited from Any

Ungrouped