Spec

zio.test.Spec
See theSpec companion class
object Spec

Attributes

Companion
class
Source
Spec.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Spec.type

Members list

Type members

Classlikes

final case class ExecCase[+Spec](exec: ExecutionStrategy, spec: Spec) extends SpecCase[Any, Nothing, Spec]

Attributes

Source
Spec.scala
Supertypes
trait Serializable
trait Product
trait Equals
class SpecCase[Any, Nothing, Spec]
class Object
trait Matchable
class Any
Show all
final case class LabeledCase[+Spec](label: String, spec: Spec) extends SpecCase[Any, Nothing, Spec]

Attributes

Source
Spec.scala
Supertypes
trait Serializable
trait Product
trait Equals
class SpecCase[Any, Nothing, Spec]
class Object
trait Matchable
class Any
Show all
final case class MultipleCase[+Spec](specs: Chunk[Spec]) extends SpecCase[Any, Nothing, Spec]

Attributes

Source
Spec.scala
Supertypes
trait Serializable
trait Product
trait Equals
class SpecCase[Any, Nothing, Spec]
class Object
trait Matchable
class Any
Show all
final class ProvideSomeLayer[R0, -R, +E](self: Spec[R, E]) extends AnyVal

Attributes

Source
Spec.scala
Supertypes
class AnyVal
trait Matchable
class Any
final class ProvideSomeLayerShared[R0, -R, +E](self: Spec[R, E]) extends AnyVal

Attributes

Source
Spec.scala
Supertypes
class AnyVal
trait Matchable
class Any
final case class ScopedCase[-R, +E, +Spec](scoped: ZIO[Scope & R, TestFailure[E], Spec]) extends SpecCase[R, E, Spec]

Attributes

Source
Spec.scala
Supertypes
trait Serializable
trait Product
trait Equals
class SpecCase[R, E, Spec]
class Object
trait Matchable
class Any
Show all
final class ScopedPartiallyApplied[R](dummy: Boolean = ...) extends AnyVal

Attributes

Source
Spec.scala
Supertypes
class AnyVal
trait Matchable
class Any
sealed abstract class SpecCase[-R, +E, +A]

Attributes

Source
Spec.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ExecCase[Spec]
class LabeledCase[Spec]
class MultipleCase[Spec]
class ScopedCase[R, E, Spec]
class TestCase[R, E]
Self type
SpecCase[R, E, A]
final case class TestCase[-R, +E](test: ZIO[R, TestFailure[E], TestSuccess], annotations: TestAnnotationMap) extends SpecCase[R, E, Nothing]

Attributes

Source
Spec.scala
Supertypes
trait Serializable
trait Product
trait Equals
class SpecCase[R, E, Nothing]
class Object
trait Matchable
class Any
Show all
final class UpdateService[-R, +E, M](self: Spec[R, E]) extends AnyVal

Attributes

Source
Spec.scala
Supertypes
class AnyVal
trait Matchable
class Any
final class UpdateServiceAt[-R, +E, Service](self: Spec[R, E]) extends AnyVal

Attributes

Source
Spec.scala
Supertypes
class AnyVal
trait Matchable
class Any

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

final def exec[R, E](exec: ExecutionStrategy, spec: Spec[R, E]): Spec[R, E]

Attributes

Source
Spec.scala
final def labeled[R, E](label: String, spec: Spec[R, E]): Spec[R, E]

Attributes

Source
Spec.scala
final def multiple[R, E](specs: Chunk[Spec[R, E]]): Spec[R, E]

Attributes

Source
Spec.scala
final def scoped[R]: ScopedPartiallyApplied[R]

Attributes

Source
Spec.scala
final def test[R, E](test: ZIO[R, TestFailure[E], TestSuccess], annotations: TestAnnotationMap)(implicit trace: Trace): Spec[R, E]

Attributes

Source
Spec.scala

Concrete fields

val empty: Spec[Any, Nothing]

Attributes

Source
Spec.scala