abstract class ZIOSpec[R] extends ZIOSpecAbstract with ZIOSpecVersionSpecific[R]
- Alphabetic
- By Inheritance
- ZIOSpec
- ZIOSpecVersionSpecific
- ZIOSpecAbstract
- ZIOSpecAbstractVersionSpecific
- ZIOApp
- ZIOAppVersionSpecific
- ZIOAppPlatformSpecific
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ZIOSpec()(implicit arg0: zio.EnvironmentTag[R])
Abstract Value Members
-
abstract
def
bootstrap: ZLayer[Any, Any, Environment]
- Definition Classes
- ZIOSpecAbstract → ZIOApp
-
abstract
def
spec: Spec[Environment with TestEnvironment with Scope, Any]
- Definition Classes
- ZIOSpecAbstract
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
<>(that: ZIOSpecAbstract)(implicit trace: Trace): ZIOSpecAbstract
- Definition Classes
- ZIOSpecAbstract
-
final
def
<>(that: ZIOApp)(implicit trace: Trace): ZIOApp
- Definition Classes
- ZIOApp
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
aspects: Chunk[TestAspectAtLeastR[Environment with TestEnvironment]]
- Definition Classes
- ZIOSpecAbstract
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
val
environmentTag: zio.EnvironmentTag[R]
- Definition Classes
- ZIOSpec → ZIOApp
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
exit(code: ExitCode)(implicit trace: Trace): UIO[Unit]
- Definition Classes
- ZIOApp
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getArgs(implicit trace: Trace): ZIO[ZIOAppArgs, Nothing, Chunk[String]]
- Definition Classes
- ZIOApp
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
installSignalHandlers(runtime: Runtime[Any])(implicit trace: Trace): UIO[Any]
- Attributes
- protected
- Definition Classes
- ZIOApp
-
final
def
invoke(args: Chunk[String])(implicit trace: Trace): ZIO[Any, Any, Any]
- Definition Classes
- ZIOApp
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
main(args0: Array[String]): Unit
- Definition Classes
- ZIOAppPlatformSpecific
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
run: ZIO[Environment with ZIOAppArgs with Scope, Any, Summary]
- Definition Classes
- ZIOSpecAbstract → ZIOApp
-
final
def
runSpec(implicit trace: Trace): ZIO[Environment with TestEnvironment with ZIOAppArgs with Scope, Throwable, Summary]
- Attributes
- protected
- Definition Classes
- ZIOSpecAbstract
-
def
runtime: Runtime[Any]
- Definition Classes
- ZIOApp
- def suite[In](label: String)(specs: In*)(implicit suiteConstructor: SuiteConstructor[In], sourceLocation: SourceLocation, trace: Trace): Spec[OutEnvironment, OutError]
-
macro
def
suiteAll(name: String)(spec: Any): Spec[Nothing, Any]
- Definition Classes
- ZIOSpecVersionSpecific
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
test[In](label: String)(assertion: ⇒ In)(implicit testConstructor: TestConstructor[Nothing, In], sourceLocation: SourceLocation, trace: Trace): Out
Builds a spec with a single test.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
-
implicit macro
def
validateEnv[R1, R, E, A](zio: ZIO[R, E, A]): ZIO[R1, E, A]
- Definition Classes
- ZIOAppVersionSpecific
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()