Object/Trait

zio.test

TestAspect

Related Docs: trait TestAspect | package test

Permalink

object TestAspect

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

Type Members

  1. trait PerTest[+LowerR, -UpperR, +LowerE, -UpperE] extends TestAspect[LowerR, UpperR, LowerE, UpperE]

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def after[R0, E0](effect: ZIO[R0, E0, Any]): TestAspect[Nothing, R0, E0, Any]

    Permalink

    Constructs an aspect that runs the specified effect after every test.

  5. def around[R0, E0](managed: ZManaged[R0, E0, (TestResult) ⇒ ZIO[R0, E0, TestResult]]): PerTest[Nothing, R0, E0, Any]

    Permalink

    Constructs an aspect that evaluates every test inside the context of the managed function.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def aspect[R0, E0](f: (ZIO[R0, E0, TestResult]) ⇒ ZIO[R0, E0, TestResult]): TestAspect[R0, R0, E0, E0]

    Permalink

    Constucts a simple monomorphic aspect that only works with the specified environment and error type.

  8. def before[R0, E0](effect: ZIO[R0, E0, Any]): TestAspect[Nothing, R0, E0, Any]

    Permalink

    Constructs an aspect that runs the specified effect before every test.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. val eventually: TestAspectPoly

    Permalink

    An aspect that retries a test until success, without limit.

  13. def executionStrategy(exec: ExecutionStrategy): TestAspectPoly

    Permalink

    An aspect that sets suites to the specified execution strategy, but only if their current strategy is inherited (undefined).

  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val flaky: TestAspectPoly

    Permalink

    An aspect that retries a test until success, without limit, for use with flaky tests.

  16. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. val ignore: TestAspectPoly

    Permalink

    An aspect that marks tests as ignored.

  19. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  21. def nonFlaky(n0: Int): TestAspectPoly

    Permalink

    An aspect that repeats the test a specified number of times, ensuring it is stable ("non-flaky").

    An aspect that repeats the test a specified number of times, ensuring it is stable ("non-flaky"). Stops at the first failure.

  22. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. val parallel: TestAspectPoly

    Permalink

    An aspect that executes the members of a suite in parallel.

  25. def parallelN(n: Int): TestAspectPoly

    Permalink

    An aspect that executes the members of a suite in parallel, up to the specified number of concurent fibers.

  26. def retry[R0, E0](schedule: ZSchedule[R0, E0, Any]): TestAspect[Nothing, R0 with Clock, Nothing, E0]

    Permalink

    An aspect that retries failed tests according to a schedule.

  27. val sequential: TestAspectPoly

    Permalink

    An aspect that executes the members of a suite sequentially.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def timeout(duration: Duration): TestAspect[Nothing, Clock, Nothing, Any]

    Permalink

    An aspect that times out tests using the specified duration.

  30. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped