abstract class DefaultRunnableSpec extends RunnableSpec[String, ZTest[MockEnvironment, Any, Any], Any, Any]
A default runnable spec that provides testable versions of all of the modules in ZIO (Clock, Random, etc).
- Alphabetic
- By Inheritance
- DefaultRunnableSpec
- RunnableSpec
- AbstractRunnableSpec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DefaultRunnableSpec(spec: => ZSpec[MockEnvironment, Any, String, Any], defaultTestAspects: List[TestAspect[Nothing, MockEnvironment, Nothing, Any, Nothing, Any]] = List( TestAspect.timeoutWarning(60.seconds) ))
Type Members
- type Failure = Any
- Definition Classes
- RunnableSpec → AbstractRunnableSpec
- type Label = String
- Definition Classes
- RunnableSpec → AbstractRunnableSpec
- type Success = Any
- Definition Classes
- RunnableSpec → AbstractRunnableSpec
- type Test = ZTest[MockEnvironment, Any, Any]
- Definition Classes
- RunnableSpec → AbstractRunnableSpec
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def main(args: Array[String]): Unit
A simple main function that can be used to run the spec.
A simple main function that can be used to run the spec.
TODO: Parse command line options.
- Definition Classes
- RunnableSpec
- 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 platform: Platform
the platform used by the runner
the platform used by the runner
- Definition Classes
- AbstractRunnableSpec
- final def run: URIO[TestLogger with Clock, ExecutedSpec[Label, Failure, Success]]
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
- def runner: TestRunner[String, ZTest[MockEnvironment, Any, Any], Any, Any]
- Definition Classes
- RunnableSpec → AbstractRunnableSpec
- def spec: Spec[String, ZTest[MockEnvironment, Any, Any]]
- Definition Classes
- RunnableSpec → AbstractRunnableSpec
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()