object TestAspect
- Alphabetic
- By Inheritance
- TestAspect
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait PerTest[+LowerR, -UpperR, +LowerE, -UpperE] extends TestAspect[LowerR, UpperR, LowerE, UpperE]
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
-
def
after[R0, E0](effect: ZIO[R0, E0, Any]): TestAspect[Nothing, R0, E0, Any]
Constructs an aspect that runs the specified effect after every test.
-
def
around[R0, E0](managed: ZManaged[R0, E0, (TestResult) ⇒ ZIO[R0, E0, TestResult]]): PerTest[Nothing, R0, E0, Any]
Constructs an aspect that evaluates every test inside the context of the managed function.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
aspect[R0, E0](f: (ZIO[R0, E0, TestResult]) ⇒ ZIO[R0, E0, TestResult]): TestAspect[R0, R0, E0, E0]
Constucts a simple monomorphic aspect that only works with the specified environment and error type.
-
def
before[R0, E0](effect: ZIO[R0, E0, Any]): TestAspect[Nothing, R0, E0, Any]
Constructs an aspect that runs the specified effect before every test.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
eventually: TestAspectPoly
An aspect that retries a test until success, without limit.
-
def
executionStrategy(exec: ExecutionStrategy): TestAspectPoly
An aspect that sets suites to the specified execution strategy, but only if their current strategy is inherited (undefined).
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
flaky: TestAspectPoly
An aspect that retries a test until success, without limit, for use with flaky tests.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
ignore: TestAspectPoly
An aspect that marks tests as ignored.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonFlaky(n0: Int): TestAspectPoly
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.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
parallel: TestAspectPoly
An aspect that executes the members of a suite in parallel.
-
def
parallelN(n: Int): TestAspectPoly
An aspect that executes the members of a suite in parallel, up to the specified number of concurent fibers.
-
def
retry[R0, E0](schedule: ZSchedule[R0, E0, Any]): TestAspect[Nothing, R0 with Clock, Nothing, E0]
An aspect that retries failed tests according to a schedule.
-
val
sequential: TestAspectPoly
An aspect that executes the members of a suite sequentially.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
timeout(duration: Duration): TestAspect[Nothing, Clock, Nothing, Any]
An aspect that times out tests using the specified duration.
-
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
- @native() @throws( ... )