Class

zio.test

DefaultMutableRunnableSpec

Related Doc: package test

Permalink

class DefaultMutableRunnableSpec extends MutableRunnableSpec[Has[Any]]

Syntax for writing test like

object MySpec extends DefaultMutableRunnableSpec {
  suite("foo") {
    testM("name") {
    } @@ ignore

    test("name 2")
  }
  suite("another suite") {
    test("name 3")
  }
}
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultMutableRunnableSpec
  2. MutableRunnableSpec
  3. RunnableSpec
  4. AbstractRunnableSpec
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultMutableRunnableSpec()

    Permalink

Type Members

  1. type Environment = environment.TestEnvironment

    Permalink
    Definition Classes
    RunnableSpecAbstractRunnableSpec
  2. type Failure = Any

    Permalink
    Definition Classes
    RunnableSpecAbstractRunnableSpec
  3. sealed trait SpecBuilder extends AnyRef

    Permalink
    Definition Classes
    MutableRunnableSpec
  4. sealed case class SuiteBuilder(label: String) extends SpecBuilder with Product with Serializable

    Permalink
    Definition Classes
    MutableRunnableSpec
  5. sealed case class TestBuilder(label: String, toSpec: ZSpec[R with environment.TestEnvironment, Any]) extends SpecBuilder with Product with Serializable

    Permalink
    Definition Classes
    MutableRunnableSpec

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def aspects: List[TestAspect[Nothing, environment.TestEnvironment, Nothing, Any]]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def main(args: Array[String]): Unit

    Permalink

    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
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def platform: Platform

    Permalink

    the platform used by the runner

    the platform used by the runner

    Definition Classes
    AbstractRunnableSpec
  18. final def run: URIO[TestLogger with Clock, ExecutedSpec[Failure]]

    Permalink

    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
  19. def runner: TestRunner[environment.TestEnvironment, Any]

    Permalink
  20. final def spec: ZSpec[Environment, Failure]

    Permalink
  21. final def suite(label: String)(specs: ⇒ SpecBuilder): SuiteBuilder

    Permalink

    Builds a suite containing a number of other specs.

    Builds a suite containing a number of other specs.

    Definition Classes
    MutableRunnableSpec
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. final def test(label: String)(assertion: ⇒ TestResult)(implicit loc: SourceLocation): TestBuilder

    Permalink

    Builds a spec with a single pure test.

    Builds a spec with a single pure test.

    Definition Classes
    MutableRunnableSpec
  24. final def testM(label: String)(assertion: ⇒ ZIO[Has[Any] with environment.TestEnvironment, Failure, TestResult])(implicit loc: SourceLocation): TestBuilder

    Permalink

    Builds a spec with a single effectful test.

    Builds a spec with a single effectful test.

    Definition Classes
    MutableRunnableSpec
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MutableRunnableSpec[Has[Any]]

Inherited from AbstractRunnableSpec

Inherited from AnyRef

Inherited from Any

Ungrouped