org.specs2.scalacheck
Members list
Type members
Classlikes
Implicits to convert Prop to AsResult and AsResult to Prop
Implicits to convert Prop to AsResult and AsResult to Prop
Attributes
- Companion
- object
- Supertypes
-
trait AsResultPropLowImplicitstrait ScalaCheckParameterstrait ScalaCheckPropertyChecktrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait AsResultProptrait AsResultPropLowImplicitstrait ScalaCheckParameterstrait ScalaCheckPropertyChecktrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
AsResultProp.type
Attributes
- Supertypes
-
trait ScalaCheckParameterstrait ScalaCheckPropertyChecktrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait AsResultPropobject AsResultProp.typetrait OneExpectationPerProptrait ScalaCheckPropertyDsltrait ScalaCheck
Scalaz instances for the Gen datatype
Scalaz instances for the Gen datatype
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ScalaCheck
This trait can be mixed in a Specification to avoid counting the number of times that a property was executed as the number of expectations. With this trait we just count 1 for each result
This trait can be mixed in a Specification to avoid counting the number of times that a property was executed as the number of expectations. With this trait we just count 1 for each result
Attributes
- Supertypes
-
trait AsResultProptrait AsResultPropLowImplicitstrait ScalaCheckParameterstrait ScalaCheckPropertyChecktrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
This class encapsulates ScalaCheck parameters + any additional parameters
This class encapsulates ScalaCheck parameters + any additional parameters
Note that minTestsOk in specs2 corresponds to the minSuccessfulTests parameter in ScalaCheck.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Parameters.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PrettyDetails.type
This object can be used to create Pretty instances for case class Where string attributes are being quoted for easier copy/pasting from the console when it is needed to replay a failing example. Usage:
This object can be used to create Pretty instances for case class Where string attributes are being quoted for easier copy/pasting from the console when it is needed to replay a failing example. Usage:
case class MyInt(i: Int, s: String = "hey")
object MyInt { given Arbitrary[MyInt] = Arbitrary(Gen.const(MyInt(1))) given MyInt => Pretty = PrettyProduct[MyInt] }
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PrettyProduct.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A ScalaCheckFunction adds the possibility to select various typeclass instances for a given property:
A ScalaCheckFunction adds the possibility to select various typeclass instances for a given property:
- Arbitrary to generate values
- Shrink to shrink counter-examples
- Show to display arguments in case of a counter-example
- Collector to collect values and provide a summary as string (to show frequencies for example)
Attributes
- Supertypes
- Known subtypes
-
Show all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalaCheckFunctiontrait ScalaCheckPropertyclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalaCheckFunctiontrait ScalaCheckPropertyclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalaCheckFunctiontrait ScalaCheckPropertyclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalaCheckFunctiontrait ScalaCheckPropertyclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalaCheckFunctiontrait ScalaCheckPropertyclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalaCheckFunctiontrait ScalaCheckPropertyclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalaCheckFunctiontrait ScalaCheckPropertyclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalaCheckFunctiontrait ScalaCheckPropertyclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait AsResultPropLowImplicitstrait AsResultPropobject AsResultProp.typetrait OneExpectationPerProptrait ScalaCheckPropertyDsltrait ScalaCheckShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalaCheckPropertyclass Objecttrait Matchableclass AnyShow all
A ScalaCheckProperty encapsulates a ScalaCheck Prop and its parameters
A ScalaCheckProperty encapsulates a ScalaCheck Prop and its parameters
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ScalaCheckProperty.type
Attributes
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait AsResultPropobject AsResultProp.typetrait OneExpectationPerProptrait ScalaCheckPropertyDsltrait ScalaChecktrait AsResultPropLowImplicitsShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ScalaCheck
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
trait AsResultProptrait AsResultPropLowImplicitstrait ScalaCheckParameterstrait ScalaCheckPropertyChecktrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait FragmentsFactoryclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait ScalaCheck