A requirement that a given value class should happen at least N% of the time in a given test.
The example below says that at least 30% of the fuzz test inputs should be multiples of 3.
fuzzWith
{ runs = 10000
, distribution =
expectDistribution
[ ( atLeast 30, "multiple of 3", \n -> (n |> modBy 3) == 0 )
]
}A requirement that a given value class should never happen in a given test.
A requirement that a given value class should happen at least once in a given test.
A result of a distribution check.
Get it from your Expectation with Test.Runner.getDistributionReport.
Prettyprints the record inside DistributionReport into a table with histograms.
Your input distribution requirement for the fuzzer used in a test.
For example, "this test shouldn't ever receive strings of length < 3 as an input" or "at least 30% of the test input trees should be balanced".