TrialsScaffolding

trait TrialsScaffolding[+Case] extends TrialsFactoring[Case]
Companion:
object
trait TrialsFactoring[Case]
class Object
trait Matchable
class Any
trait Trials[Case]
trait Tuple2Trials[Case1, Case2]
class Tuple2Trials[Case1, Case2]
trait Tuple3Trials[Case1, Case2, Case3]
class Tuple3Trials[Case1, Case2, Case3]
trait Tuple4Trials[Case1, Case2, Case3, Case4]
class Tuple4Trials[Case1, Case2, Case3, Case4]

Type members

Inherited classlikes

abstract class TrialException(cause: Throwable) extends RuntimeException
Inherited from:
TrialsFactoring

Types

Value members

Abstract methods

def trials: Trials[Case]
def withLimits(casesLimit: Int, complexityLimit: Int, shrinkageAttemptsLimit: Int, shrinkageStop: () => Case): SupplySyntaxType
def withRecipe(recipe: String): SupplySyntaxType

Deprecated methods

@deprecated("Use `withLimits` instead.")
def withLimit(limit: Int): SupplySyntaxType
Deprecated
@deprecated("Use `withLimits` instead.")
def withLimit(limit: Int, complexityLimit: Int): SupplySyntaxType
Deprecated

Inherited methods

def reproduce(recipe: String): Case

Reproduce a specific case in a repeatable fashion, based on a recipe.

Reproduce a specific case in a repeatable fashion, based on a recipe.

Value parameters:
recipe

This encodes a specific case and will only be understood by the same value of trials instance that was used to obtain it.

Returns:

The specific Case denoted by the recipe.

Throws:
RuntimeException

if the recipe does not correspond to the receiver, either due to it being created by a different flavour of trials instance or subsequent code changes.

Inherited from:
TrialsFactoring