Test parameters used by the check methods. Default parameters are defined by Test.Parameters.default.
Attributes
- Companion
- object
- Source
- Test.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
Disable legacy shrinking.
Enable legacy shrinking.
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- Test.scala
Create a copy of this Test.Parameters instance with Test.Parameters.customClassLoader set to the specified value.
Create a copy of this Test.Parameters instance with Test.Parameters.customClassLoader set to the specified value.
Attributes
- Source
- Test.scala
Set initial seed to use.
Set initial seed to use.
Set initial seed as long integer.
Set legacy shrinking.
Create a copy of this Test.Parameters instance with Test.Parameters.maxDiscardRatio set to the specified value.
Create a copy of this Test.Parameters instance with Test.Parameters.maxDiscardRatio set to the specified value.
Attributes
- Source
- Test.scala
Set maximum RNG spins between checks
Create a copy of this Test.Parameters instance with Test.Parameters.maxSize set to the specified value.
Create a copy of this Test.Parameters instance with Test.Parameters.maxSize set to the specified value.
Attributes
- Source
- Test.scala
Create a copy of this Test.Parameters instance with Test.Parameters.minSize set to the specified value.
Create a copy of this Test.Parameters instance with Test.Parameters.minSize set to the specified value.
Attributes
- Source
- Test.scala
Create a copy of this Test.Parameters instance with Test.Parameters.minSuccessfulTests set to the specified value.
Create a copy of this Test.Parameters instance with Test.Parameters.minSuccessfulTests set to the specified value.
Attributes
- Source
- Test.scala
Don't set an initial seed.
Create a copy of this Test.Parameters instance with Test.Parameters.propFilter set to the specified regular expression filter.
Create a copy of this Test.Parameters instance with Test.Parameters.propFilter set to the specified regular expression filter.
Attributes
- Source
- Test.scala
Create a copy of this Test.Parameters instance with Test.Parameters.testCallback set to the specified value.
Create a copy of this Test.Parameters instance with Test.Parameters.testCallback set to the specified value.
Attributes
- Source
- Test.scala
Create a copy of this Test.Parameters instance with Test.Parameters.workers set to the specified value.
Create a copy of this Test.Parameters instance with Test.Parameters.workers set to the specified value.
Attributes
- Source
- Test.scala
Abstract fields
A custom class loader that should be used during test execution.
Initial seed to use for testing.
The maximum ratio between discarded and passed tests allowed before ScalaCheck gives up and discards the whole property (with status Test.Exhausted).
The maximum ratio between discarded and passed tests allowed before ScalaCheck gives up and discards the whole property (with status Test.Exhausted). Additionally, ScalaCheck will always allow at least minSuccessfulTests * maxDiscardRatio
discarded tests, so the resulting discard ratio might be higher than maxDiscardRatio
.
Attributes
- Source
- Test.scala
The maximum size given as parameter to the generators.
The starting size given as parameter to the generators.
The minimum number of tests that must succeed for ScalaCheck to consider a property passed.
The minimum number of tests that must succeed for ScalaCheck to consider a property passed.
Attributes
- Source
- Test.scala
An optional regular expression to filter properties on.
A callback that ScalaCheck calls each time a test is executed.
The number of tests to run in parallel.
Concrete fields
Maximum number of spins of the RNG to perform between checks.
Maximum number of spins of the RNG to perform between checks. Greater values will reduce reuse of values (with dimimishing returns) for a given number of arguments to Prop.forAll tests. Greater values will also generally lead to slower tests, so be careful.
Attributes
- Source
- Test.scala
Use legacy shrinking.