Packages

c

zio.test

ZIOSpec

abstract class ZIOSpec[R <: Has[_]] extends ZIOSpecAbstract

Self Type
ZIOSpec[R]
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZIOSpec
  2. ZIOSpecAbstract
  3. ZIOApp
  4. ZIOAppPlatformSpecific
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ZIOSpec()(implicit arg0: zio.Tag[R])

Type Members

  1. type Environment = R
    Definition Classes
    ZIOSpecZIOApp

Abstract Value Members

  1. abstract def serviceBuilder: ZServiceBuilder[Has[ZIOAppArgs], Any, Environment]

    A service builder that manages the acquisition and release of services necessary for the application to run.

    A service builder that manages the acquisition and release of services necessary for the application to run.

    Definition Classes
    ZIOApp
  2. abstract def spec: ZSpec[Environment with TestEnvironment with Has[ZIOAppArgs], Any]
    Definition Classes
    ZIOSpecAbstract

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def <>(that: ZIOSpecAbstract)(implicit trace: ZTraceElement): ZIOSpecAbstract
    Definition Classes
    ZIOSpecAbstract
  4. final def <>(that: ZIOApp)(implicit trace: ZTraceElement): ZIOApp

    Composes this ZIOApp with another ZIOApp, to yield an application that executes the logic of both applications.

    Composes this ZIOApp with another ZIOApp, to yield an application that executes the logic of both applications.

    Definition Classes
    ZIOApp
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def aspects: Chunk[WithOut[Nothing, Environment with TestEnvironment with Has[ZIOAppArgs], Nothing, Any, [Env]Env, [Err]Err]]
    Definition Classes
    ZIOSpecAbstract
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def exit(code: ExitCode)(implicit trace: ZTraceElement): UIO[Unit]

    A helper function to exit the application with the specified exit code.

    A helper function to exit the application with the specified exit code.

    Definition Classes
    ZIOApp
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getArgs(implicit trace: ZTraceElement): ZIO[Has[ZIOAppArgs], Nothing, Chunk[String]]

    A helper function to obtain access to the command-line arguments of the application.

    A helper function to obtain access to the command-line arguments of the application. You may use this helper function inside your run function.

    Definition Classes
    ZIOApp
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hook: RuntimeConfigAspect

    A hook into the ZIO runtime configuration used for boostrapping the application.

    A hook into the ZIO runtime configuration used for boostrapping the application. This hook can be used to install low-level functionality into the ZIO application, such as logging, profiling, and other similar foundational pieces of infrastructure.

    Definition Classes
    ZIOApp
  17. final def invoke(args: Chunk[String])(implicit trace: ZTraceElement): ZIO[ZEnv, Any, Any]

    Invokes the main app.

    Invokes the main app. Designed primarily for testing.

    Definition Classes
    ZIOApp
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def main(args0: Array[String]): Unit

    The Scala main function, intended to be called only by the Scala runtime.

    The Scala main function, intended to be called only by the Scala runtime.

    Definition Classes
    ZIOAppPlatformSpecific
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def run: ZIO[ZEnv with Has[ZIOAppArgs], Any, Any]

    The main function of the application, which can access the command-line arguments through the args helper method of this class.

    The main function of the application, which can access the command-line arguments through the args helper method of this class. If the provided effect fails for any reason, the cause will be logged, and the exit code of the application will be non-zero. Otherwise, the exit code of the application will be zero.

    Definition Classes
    ZIOSpecAbstractZIOApp
  24. def runSpec: ZIO[Environment with TestEnvironment with Has[ZIOAppArgs], Any, Any]
    Attributes
    protected
    Definition Classes
    ZIOSpecAbstract
  25. def runtime: Runtime[ZEnv]
    Definition Classes
    ZIOApp
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. final val tag: zio.Tag[R]
    Definition Classes
    ZIOSpecZIOApp
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ZIOSpecAbstract

Inherited from ZIOApp

Inherited from ZIOAppPlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped