sealed abstract class Parameters extends AnyRef
Test parameters used by the check methods. Default parameters are defined by Test.Parameters.default.
- Alphabetic
- By Inheritance
- Parameters
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
customClassLoader: Option[ClassLoader]
A custom class loader that should be used during test execution.
-
abstract
val
initialSeed: Option[Seed]
Initial seed to use for testing.
-
abstract
val
maxDiscardRatio: Float
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 thanmaxDiscardRatio
. -
abstract
val
maxSize: Int
The maximum size given as parameter to the generators.
-
abstract
val
minSize: Int
The starting size given as parameter to the generators.
-
abstract
val
minSuccessfulTests: Int
The minimum number of tests that must succeed for ScalaCheck to consider a property passed.
-
abstract
val
propFilter: Option[String]
An optional regular expression to filter properties on.
-
abstract
val
testCallback: TestCallback
A callback that ScalaCheck calls each time a test is executed.
-
abstract
val
workers: Int
The number of tests to run in parallel.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Parameters → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withCustomClassLoader(customClassLoader: Option[ClassLoader]): Parameters
Create a copy of this Test.Parameters instance with Test.Parameters.customClassLoader set to the specified value.
- def withInitialSeed(n: Long): Parameters
- def withInitialSeed(seed: Seed): Parameters
-
def
withMaxDiscardRatio(maxDiscardRatio: Float): Parameters
Create a copy of this Test.Parameters instance with Test.Parameters.maxDiscardRatio set to the specified value.
-
def
withMaxSize(maxSize: Int): Parameters
Create a copy of this Test.Parameters instance with Test.Parameters.maxSize set to the specified value.
-
def
withMinSize(minSize: Int): Parameters
Create a copy of this Test.Parameters instance with Test.Parameters.minSize set to the specified value.
-
def
withMinSuccessfulTests(minSuccessfulTests: Int): Parameters
Create a copy of this Test.Parameters instance with Test.Parameters.minSuccessfulTests set to the specified value.
- def withNoInitialSeed: Parameters
-
def
withPropFilter(propFilter: Option[String]): Parameters
Create a copy of this Test.Parameters instance with Test.Parameters.propFilter set to the specified regular expression filter.
-
def
withTestCallback(testCallback: TestCallback): Parameters
Create a copy of this Test.Parameters instance with Test.Parameters.testCallback set to the specified value.
-
def
withWorkers(workers: Int): Parameters
Create a copy of this Test.Parameters instance with Test.Parameters.workers set to the specified value.