PerTest

abstract class PerTest[+LowerR, -UpperR, +LowerE, -UpperE] extends TestAspect[LowerR, UpperR, LowerE, UpperE]
Companion:
object
class TestAspect[LowerR, UpperR, LowerE, UpperE]
class Object
trait Matchable
class Any

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]

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.

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.

Inherited from:
TestAspect
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.

Inherited from:
TestAspect
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.

Inherited from:
TestAspect
final def andThen[LowerR1 >: LowerR, UpperR1 <: UpperR, LowerE1 >: LowerE, UpperE1 <: UpperE](that: TestAspect[LowerR1, UpperR1, LowerE1, UpperE1]): TestAspect[LowerR1, UpperR1, LowerE1, UpperE1]
Inherited from:
TestAspect
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.

Inherited from:
TestAspect