zio.test.TestConfig
See theTestConfig companion trait
object TestConfig
Attributes
- Companion
- trait
- Source
- TestConfig.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TestConfig.type
Members list
Type members
Classlikes
final case class TestV2(repeats: Int, retries: Int, samples: Int, shrinks: Int, checkAspect: CheckAspect) extends TestConfig
Attributes
- Source
- TestConfig.scala
- Supertypes
-
trait Producttrait Equalstrait TestConfigtrait Serializableclass Objecttrait Matchableclass AnyShow all
Deprecated classlikes
Attributes
- Deprecated
-
[Since version 2.1.8]use TestV2 - Source
- TestConfig.scala
- Supertypes
-
trait Producttrait Equalstrait TestConfigtrait Serializableclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Action that should be performed on each check sample.
Constructs a new TestConfig service with the specified settings.
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.
Attributes
- Source
- TestConfig.scala
The number of times to repeat tests to ensure they are stable.
The number of times to retry flaky tests.
The number of sufficient samples to check for a random variable.
The maximum number of shrinkings to minimize large failures
Concrete fields
Constructs a new TestConfig with the default settings.
Implicits
Implicits
Attributes
- Source
- TestConfig.scala
In this article