Trait/Object

zio.test

TestAspect

Related Docs: object TestAspect | package test

Permalink

trait TestAspect[+LowerEnv, -UpperEnv, +LowerErr, -UpperErr] extends TestAspectVersionSpecific[LowerEnv, UpperEnv, LowerErr, UpperErr]

A TestAspect is an aspect that can be weaved into specs. You can think of an aspect as a polymorphic function, capable of transforming one test into another, possibly enlarging the environment or error type.

Self Type
TestAspect[LowerEnv, UpperEnv, LowerErr, UpperErr]
Linear Supertypes
TestAspectVersionSpecific[LowerEnv, UpperEnv, LowerErr, UpperErr], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestAspect
  2. TestAspectVersionSpecific
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type OutEnv[Env]

    Permalink
  2. abstract type OutErr[Err]

    Permalink

Abstract Value Members

  1. abstract def apply[Env >: LowerEnv <: UpperEnv, Err >: LowerErr <: UpperErr](spec: Spec[Env, TestFailure[Err], TestSuccess])(implicit trace: ZTraceElement): Spec[OutEnv[Env], TestFailure[OutErr[Err]], TestSuccess]

    Permalink

    An alias for all.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <<<[LowerEnv2, UpperEnv2, LowerErr2, UpperErr2](that: TestAspect[LowerEnv2, UpperEnv2, LowerErr2, UpperErr2])(implicit composeEnv: ZCompose[LowerEnv2, UpperEnv2, OutEnv, LowerEnv, UpperEnv, OutEnv], composeErr: ZCompose[LowerErr2, UpperErr2, OutErr, LowerErr, UpperErr, OutErr]): WithOut[Lower, Upper, Lower, Upper, Out, Out]

    Permalink

    Composes two test aspects into one test aspect, by first applying the transformation of the specified test aspect, and then applying the transformation of this test aspect.

    Composes two test aspects into one test aspect, by first applying the transformation of the specified test aspect, and then applying the transformation of this test aspect.

    Definition Classes
    TestAspectVersionSpecific
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def >>>[LowerEnv2, UpperEnv2, LowerErr2, UpperErr2](that: TestAspect[LowerEnv2, UpperEnv2, LowerErr2, UpperErr2])(implicit composeEnv: ZCompose[LowerEnv, UpperEnv, OutEnv, LowerEnv2, UpperEnv2, OutEnv], composeErr: ZCompose[LowerErr, UpperErr, OutErr, LowerErr2, UpperErr2, OutErr]): WithOut[Lower, Upper, Lower, Upper, Out, Out]

    Permalink

    Composes two test aspects into one test aspect, by first applying the transformation of this test aspect, and then applying the transformation of the specified test aspect.

    Composes two test aspects into one test aspect, by first applying the transformation of this test aspect, and then applying the transformation of the specified test aspect.

    Definition Classes
    TestAspectVersionSpecific
  6. def @@[LowerEnv2, UpperEnv2, LowerErr2, UpperErr2](that: TestAspect[LowerEnv2, UpperEnv2, LowerErr2, UpperErr2])(implicit composeEnv: ZCompose[LowerEnv, UpperEnv, OutEnv, LowerEnv2, UpperEnv2, OutEnv], composeErr: ZCompose[LowerErr, UpperErr, OutErr, LowerErr2, UpperErr2, OutErr]): WithOut[Lower, Upper, Lower, Upper, Out, Out]

    Permalink

    Composes two test aspects into one test aspect, by first applying the transformation of this test aspect, and then applying the transformation of the specified test aspect.

    Composes two test aspects into one test aspect, by first applying the transformation of this test aspect, and then applying the transformation of the specified test aspect.

    Definition Classes
    TestAspectVersionSpecific
  7. def andThen[LowerEnv2, UpperEnv2, LowerErr2, UpperErr2](that: TestAspect[LowerEnv2, UpperEnv2, LowerErr2, UpperErr2])(implicit composeEnv: ZCompose[LowerEnv, UpperEnv, OutEnv, LowerEnv2, UpperEnv2, OutEnv], composeErr: ZCompose[LowerErr, UpperErr, OutErr, LowerErr2, UpperErr2, OutErr]): WithOut[Lower, Upper, Lower, Upper, Out, Out]

    Permalink

    A named version of the >>> operator.

    A named version of the >>> operator.

    Definition Classes
    TestAspectVersionSpecific
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compose[LowerEnv2, UpperEnv2, LowerErr2, UpperErr2](that: TestAspect[LowerEnv2, UpperEnv2, LowerErr2, UpperErr2])(implicit composeEnv: ZCompose[LowerEnv2, UpperEnv2, OutEnv, LowerEnv, UpperEnv, OutEnv], composeErr: ZCompose[LowerErr2, UpperErr2, OutErr, LowerErr, UpperErr, OutErr]): WithOut[Lower, Upper, Lower, Upper, Out, Out]

    Permalink

    A named version of the <<< operator.

    A named version of the <<< operator.

    Definition Classes
    TestAspectVersionSpecific
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from TestAspectVersionSpecific[LowerEnv, UpperEnv, LowerErr, UpperErr]

Inherited from AnyRef

Inherited from Any

Ungrouped