object TestConfig extends Serializable
- Alphabetic
- By Inheritance
- TestConfig
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class TestV2(repeats: Int, retries: Int, samples: Int, shrinks: Int, checkAspect: CheckAspect) extends TestConfig with Product with Serializable
Deprecated Type Members
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkAspect(implicit trace: Trace): URIO[Any, CheckAspect]
Action that should be performed on each check sample.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val default: ZLayer[Any, Nothing, TestConfig]
Constructs a new
TestConfig
with the default settings. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def live(repeats: Int, retries: Int, samples: Int, shrinks: Int, checkAspect: CheckAspect)(implicit trace: Trace): ZLayer[Any, Nothing, TestConfig]
Constructs a new
TestConfig
service with the specified settings.Constructs a new
TestConfig
service with the specified settings.Note: manual overload instead of default argument for binary compatibility. Remove in next major version.
- def live(repeats: Int, retries: Int, samples: Int, shrinks: Int)(implicit trace: Trace): ZLayer[Any, Nothing, TestConfig]
Constructs a new
TestConfig
service with the specified settings. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def repeats(implicit trace: Trace): URIO[Any, Int]
The number of times to repeat tests to ensure they are stable.
- def retries(implicit trace: Trace): URIO[Any, Int]
The number of times to retry flaky tests.
- def samples(implicit trace: Trace): URIO[Any, Int]
The number of sufficient samples to check for a random variable.
- def shrinks(implicit trace: Trace): URIO[Any, Int]
The maximum number of shrinkings to minimize large failures
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tag: Tag[TestConfig]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()