Packages

c

zio.test

ZIOSpecDefault

abstract class ZIOSpecDefault extends ZIOSpec[TestEnvironment]

Linear Supertypes
ZIOSpec[TestEnvironment], ZIOSpecVersionSpecific[TestEnvironment], ZIOSpecAbstract, ZIOSpecAbstractVersionSpecific, ZIOApp, ZIOAppVersionSpecific, ZIOAppPlatformSpecific, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZIOSpecDefault
  2. ZIOSpec
  3. ZIOSpecVersionSpecific
  4. ZIOSpecAbstract
  5. ZIOSpecAbstractVersionSpecific
  6. ZIOApp
  7. ZIOAppVersionSpecific
  8. ZIOAppPlatformSpecific
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ZIOSpecDefault()

Type Members

  1. type Environment = TestEnvironment
    Definition Classes
    ZIOSpecZIOApp

Abstract Value Members

  1. abstract def spec: Spec[TestEnvironment with Scope, Any]
    Definition Classes
    ZIOSpecDefaultZIOSpecAbstract

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: Trace): ZIOSpecAbstract
    Definition Classes
    ZIOSpecAbstract
  4. final def <>(that: ZIOApp)(implicit trace: Trace): 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[TestAspectAtLeastR[Environment with TestEnvironment]]
    Definition Classes
    ZIOSpecAbstract
  8. val bootstrap: ZLayer[Any, Any, TestEnvironment]

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

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

    Definition Classes
    ZIOSpecDefaultZIOSpecAbstractZIOApp
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final val environmentTag: zio.EnvironmentTag[TestEnvironment]
    Definition Classes
    ZIOSpecZIOApp
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def exit(code: ExitCode)(implicit trace: Trace): 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
  14. def exitUnsafe(code: ExitCode)(implicit unsafe: Unsafe): Unit
    Attributes
    protected[zio]
    Definition Classes
    ZIOApp
  15. final def getArgs(implicit trace: Trace): ZIO[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
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def gracefulShutdownTimeout: zio.Duration

    The time that the application will wait for finalizers to run before exiting.

    The time that the application will wait for finalizers to run before exiting.

    NOTE: This is currently used only for JVM & ScalaNative applications

    Definition Classes
    ZIOApp
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def installSignalHandlers(runtime: Runtime[Any])(implicit trace: Trace): UIO[Any]
    Attributes
    protected
    Definition Classes
    ZIOApp
  20. final def invoke(args: Chunk[String])(implicit trace: Trace): ZIO[Any, Any, Any]

    Invokes the main app.

    Invokes the main app. Designed primarily for testing.

    Definition Classes
    ZIOApp
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. 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
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def run: ZIO[Environment with ZIOAppArgs with Scope, Any, Summary]

    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
  27. final def runSpec(implicit trace: Trace): ZIO[Environment with TestEnvironment with ZIOAppArgs with Scope, Throwable, Summary]
    Attributes
    protected
    Definition Classes
    ZIOSpecAbstract
  28. def runtime: Runtime[Any]
    Definition Classes
    ZIOApp
  29. def suite[In](label: String)(specs: In*)(implicit suiteConstructor: SuiteConstructor[In], sourceLocation: SourceLocation, trace: Trace): Spec[OutEnvironment, OutError]
    Definition Classes
    ZIOSpec
  30. macro def suiteAll(name: String)(spec: Any): Spec[Nothing, Any]
    Definition Classes
    ZIOSpecVersionSpecific
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def test[In](label: String)(assertion: => In)(implicit testConstructor: TestConstructor[Nothing, In], sourceLocation: SourceLocation, trace: Trace): Out

    Builds a spec with a single test.

    Builds a spec with a single test.

    Definition Classes
    ZIOSpec
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. implicit macro def validateEnv[R1, R, E](spec: Spec[R, E]): Spec[R1, E]

    This implicit conversion macro will ensure that the provided ZIO effect does not require more than the provided environment.

    This implicit conversion macro will ensure that the provided ZIO effect does not require more than the provided environment.

    If it is missing requirements, it will report a descriptive error message. Otherwise, the effect will be returned unmodified.

    Definition Classes
    ZIOSpecAbstractVersionSpecific
  35. implicit macro def validateEnv[R1, R, E, A](zio: ZIO[R, E, A]): ZIO[R1, E, A]

    This implicit conversion macro will ensure that the provided ZIO effect does not require more than the provided environment.

    This implicit conversion macro will ensure that the provided ZIO effect does not require more than the provided environment.

    If it is missing requirements, it will report a descriptive error message. Otherwise, the effect will be returned unmodified.

    Definition Classes
    ZIOAppVersionSpecific
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ZIOSpec[TestEnvironment]

Inherited from ZIOSpecVersionSpecific[TestEnvironment]

Inherited from ZIOSpecAbstract

Inherited from ZIOSpecAbstractVersionSpecific

Inherited from ZIOApp

Inherited from ZIOAppVersionSpecific

Inherited from ZIOAppPlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped