PerTest

zio.test.TestAspect.PerTest
See thePerTest companion object
abstract class PerTest[+LowerR, -UpperR, +LowerE, -UpperE] extends TestAspect[LowerR, UpperR, LowerE, UpperE]

Attributes

Companion
object
Source
TestAspect.scala
Graph
Supertypes
class TestAspect[LowerR, UpperR, LowerE, UpperE]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def perTest[R >: LowerR <: UpperR, E >: LowerE <: UpperE](test: ZIO[R, TestFailure[E], TestSuccess])(implicit trace: Trace): ZIO[R, TestFailure[E], TestSuccess]

Attributes

Source
TestAspect.scala

Concrete methods

final def some[R >: LowerR <: UpperR, E >: LowerE <: UpperE](spec: Spec[R, E])(implicit trace: Trace): Spec[R, E]

Applies the aspect to some tests in the spec, chosen by the provided predicate.

Applies the aspect to some tests in the spec, chosen by the provided predicate.

Attributes

Source
TestAspect.scala

Inherited methods

final def >>>[LowerR1 >: LowerR, UpperR1 <: UpperR, LowerE1 >: LowerE, UpperE1 <: UpperE](that: TestAspect[LowerR1, UpperR1, LowerE1, UpperE1]): TestAspect[LowerR1, UpperR1, LowerE1, UpperE1]

Returns a new aspect that represents the sequential composition of this aspect with the specified one.

Returns a new aspect that represents the sequential composition of this aspect with the specified one.

Attributes

Inherited from:
TestAspect
Source
TestAspect.scala
final def @@[LowerR1 >: LowerR, UpperR1 <: UpperR, LowerE1 >: LowerE, UpperE1 <: UpperE](that: TestAspect[LowerR1, UpperR1, LowerE1, UpperE1]): TestAspect[LowerR1, UpperR1, LowerE1, UpperE1]

Returns a new aspect that represents the sequential composition of this aspect with the specified one.

Returns a new aspect that represents the sequential composition of this aspect with the specified one.

Attributes

Inherited from:
TestAspect
Source
TestAspect.scala
final def all[R >: LowerR <: UpperR, E >: LowerE <: UpperE](spec: Spec[R, E])(implicit trace: Trace): Spec[R, E]

Applies the aspect to every test in the spec.

Applies the aspect to every test in the spec.

Attributes

Inherited from:
TestAspect
Source
TestAspect.scala
final def andThen[LowerR1 >: LowerR, UpperR1 <: UpperR, LowerE1 >: LowerE, UpperE1 <: UpperE](that: TestAspect[LowerR1, UpperR1, LowerE1, UpperE1]): TestAspect[LowerR1, UpperR1, LowerE1, UpperE1]

Attributes

Inherited from:
TestAspect
Source
TestAspect.scala
final def apply[R >: LowerR <: UpperR, E >: LowerE <: UpperE](spec: Spec[R, E])(implicit trace: Trace): Spec[R, E]

An alias for all.

An alias for all.

Attributes

Inherited from:
TestAspect
Source
TestAspect.scala