TestConfig service provides access to default configuration settings used by ZIO Test:
- Repeats — The number of times to repeat tests to ensure they are stable.
- Retries — The number of times to retry flaky tests.
- Samples — The number of sufficient samples to check for a random variable.
- Shrinks — The maximum number of shrinkings to minimize large failures.
Currently, the live version of
TestEnvironment contains the live version of this service with the following configs:
repeats0 = 100,
retries0 = 100,
samples0 = 200,
shrinks0 = 1000
So by default, the ZIO Test runner will run tests with this config. Regular users do not need access to this service unless they need to change or access configurations from the ZIO Test environment.