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).
- Alphabetic
- By Inheritance
- DefaultRunnableSpec
- RunnableSpec
- AbstractRunnableSpec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DefaultRunnableSpec()
Type Members
-
type
Environment = TestEnvironment
- Definition Classes
- RunnableSpec → AbstractRunnableSpec
-
type
Failure = Any
- Definition Classes
- RunnableSpec → AbstractRunnableSpec
Abstract Value Members
-
abstract
def
spec: ZSpec[Environment, Failure]
- Definition Classes
- AbstractRunnableSpec
Concrete 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
aspects: List[TestAspectAtLeastR[TestEnvironment]]
- Definition Classes
- DefaultRunnableSpec → AbstractRunnableSpec
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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.
- 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
run(implicit trace: ZTraceElement): ZIO[ZEnv with ZIOAppArgs, Any, Any]
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[TestEnvironment, Any]
- Definition Classes
- DefaultRunnableSpec → AbstractRunnableSpec
-
final
def
runtimeConfig: RuntimeConfig
The runtime configuration used by the runner.
The runtime configuration used by the runner.
- Definition Classes
- AbstractRunnableSpec
-
def
suite[In](label: String)(specs: In*)(implicit suiteConstructor: SuiteConstructor[In], trace: ZTraceElement): Spec[OutEnvironment, OutError, OutSuccess]
Builds a suite containing a number of other specs.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
test[In](label: String)(assertion: ⇒ In)(implicit testConstructor: TestConstructor[Nothing, In], trace: ZTraceElement): Out
Builds a spec with a single test.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
Deprecated Value Members
-
final
def
platform: RuntimeConfig
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
-
def
suiteM[R, E, T](label: String)(specs: ZIO[R, E, Iterable[Spec[R, E, T]]])(implicit trace: ZTraceElement): Spec[R, E, T]
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
-
def
testM[R, E](label: String)(assertion: ⇒ ZIO[R, E, TestResult])(implicit trace: ZTraceElement): ZSpec[R, E]
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