Class

zio.test.sbt

ZTestFramework

Related Doc: package sbt

Permalink

final class ZTestFramework extends Framework

General Test Pieces

zio.test.ZIOSpecAbstract

Contains test logic and how it should be executed. The most important method is:

runSpec is the most significant method in this class. It:

zio.test.TestExecutor

Capable of executing specs that require an environment R and may fail with an E Recursively traverses tree of specs, executing suites/tests in parallel

zio.test.TestRunner

Encapsulates the logic necessary to run specs that require an environment R and may fail with an error E.

SBT-specific pieces

sbt.testing.Task

SBT needs everything packaged in these to run tests/suites

zio.test.sbt.ZTestTask extends Task

Contains a ZIOSpecAbstract and everything that SBT needs to run/report it.

sbt.testing.Runner

SBT delegates to Runner clients for managing/executing test

zio.test.sbt.ZioSpecFingerprint What SBT needs to find your tests. Finds ZIOSpecAbstract implementations in your codebase.

zio.test.sbt.ZTestRunnerJVM extends sbt.testing.Runner

Receives all Specs found by the FingerPrint and merges them into a single ZTestTask

sbt.testing.Framework We need to implement this for SBT to recognize ZIO-test as a legitimate test framework.

zio.test.sbt.ZTestFramework extends sbt.testing.Framework Defines ZIOSpecFingerPrint & ZTestRunner and passes them to SBT

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZTestFramework
  2. Framework
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ZTestFramework()

    Permalink

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 clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. val fingerprints: Array[Fingerprint]

    Permalink
    Definition Classes
    ZTestFramework → Framework
  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. val name: String

    Permalink
    Definition Classes
    ZTestFramework → Framework
  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. def runner(args: Array[String], remoteArgs: Array[String], testClassLoader: ClassLoader): ZTestRunnerJVM

    Permalink
    Definition Classes
    ZTestFramework → Framework
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

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

Inherited from Framework

Inherited from AnyRef

Inherited from Any

Ungrouped