TestConfig

zio.test.TestConfig
See theTestConfig companion object
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.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
class Test

Members list

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.

Attributes

def retries: Int

The number of times to retry flaky tests.

The number of times to retry flaky tests.

Attributes

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.

Attributes

def shrinks: Int

The maximum number of shrinkings to minimize large failures

The maximum number of shrinkings to minimize large failures

Attributes