Package

zio.test

sbt

Permalink

package sbt

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

Type Members

  1. abstract class BaseTestTask[T] extends sbt.testing.Task

    Permalink
  2. type SendSummary = ZIO[Summary, Nothing, Unit]

    Permalink
  3. final case class ZTestEvent(fullyQualifiedName: String, selector: Selector, status: Status, maybeThrowable: Option[Throwable], duration: Long, fingerprint: Fingerprint) extends Event with Product with Serializable

    Permalink
  4. class ZTestEventHandlerSbt extends ZTestEventHandler

    Permalink
  5. final class ZTestFramework extends Framework

    Permalink

    zio.test.ZIOSpecAbstract

    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:

    • Interacts with the Runtime
    • Builds TestRunner
    • Folds aspects into logic
    • Builds TestExecutor and passes spec to it
    • Returns summary

    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

  6. final class ZTestRunnerJVM extends Runner

    Permalink
  7. final class ZTestTask[T] extends BaseTestTask[T]

    Permalink

Value Members

  1. object SendSummary extends Serializable

    Permalink
  2. object ZTestEvent extends Serializable

    Permalink
  3. object ZTestTask

    Permalink
  4. object ZioSpecFingerprint extends SubclassFingerprint

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped