package sbt
- Alphabetic
- By Inheritance
- sbt
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- abstract class BaseTestTask[T] extends sbt.testing.Task
- type SendSummary = ZIO[Summary, Nothing, Unit]
- final case class ZTestEvent(fullyQualifiedName0: String, selector0: Selector, status0: Status, maybeThrowable: Option[Throwable], duration0: Long, fingerprint0: Fingerprint) extends Event with Product with Serializable
-
class
ZTestEventHandlerSbt extends ZTestEventHandler
Reports test results to SBT, ensuring that the
testtask fails if any ZIO test instances fail -
final
class
ZTestFramework extends Framework
General Test Pieces
Contains test logic and how it should be executed. The most important method is:
runSpecis the most significant method in this class. It:- Interacts with the Runtime
- Builds TestRunner
- Folds aspects into logic
- Builds
TestExecutorand passes spec to it - Returns summary
Capable of executing specs that require an environment
Rand may fail with anERecursively traverses tree of specs, executing suites/tests in parallelEncapsulates the logic necessary to run specs that require an environment
Rand may fail with an errorE.SBT-specific pieces
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 delegates to
Runnerclients for managing/executing testzio.test.sbt.ZioSpecFingerprint What SBT needs to find your tests. Finds
ZIOSpecAbstractimplementations in your codebase.zio.test.sbt.ZTestRunnerJVM extends sbt.testing.Runner
Receives all Specs found by the
FingerPrintand merges them into a singleZTestTasksbt.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&ZTestRunnerand passes them to SBT - final class ZTestRunnerJVM extends Runner
- final class ZTestTask[T] extends BaseTestTask[T]
Value Members
- object SendSummary
- object ZTestEvent extends Serializable
- object ZTestTask
- object ZioSpecFingerprint extends SubclassFingerprint