ScalaCheckFunction
org.specs2.scalacheck.ScalaCheckFunction
trait ScalaCheckFunction extends ScalaCheckProperty
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)
A Context can be added to setup/teardown state before/after/around each property execution
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
Members list
In this article