final class ZTestFramework extends Framework
General Test Pieces
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
TestExecutorand passes spec to it - Returns summary
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
Encapsulates the logic necessary to run specs that require an environment R
and may fail with an error E.
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 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
- Alphabetic
- By Inheritance
- ZTestFramework
- Framework
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ZTestFramework()
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
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] )
-
val
fingerprints: Array[Fingerprint]
- Definition Classes
- ZTestFramework → Framework
-
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
-
val
name: String
- Definition Classes
- ZTestFramework → Framework
-
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()
-
def
runner(args: Array[String], remoteArgs: Array[String], testClassLoader: ClassLoader): ZTestRunnerJVM
- Definition Classes
- ZTestFramework → Framework
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()