TestConfig

trait TestConfig extends Serializable

The TestConfig service provides access to default configuration settings used by ZIO Test, including the number of times to repeat tests to ensure they are stable, the number of times to retry flaky tests, the sufficient number of samples to check from a random variable, and the maximum number of shrinkings to minimize large failures.

Companion:
object
class Object
trait Matchable
class Any
class Test

Value members

Abstract methods

def repeats: Int

The number of times to repeat tests to ensure they are stable.

The number of times to repeat tests to ensure they are stable.

def retries: Int

The number of times to retry flaky tests.

The number of times to retry flaky tests.

def samples: Int

The number of sufficient samples to check for a random variable.

The number of sufficient samples to check for a random variable.

def shrinks: Int

The maximum number of shrinkings to minimize large failures

The maximum number of shrinkings to minimize large failures