PropCheck.collect
You're seeing just the function
collect
, go back to PropCheck module for more information.
Specs
Specifies that test cases produced by this property should be
categorized under the term category
.
This field can be an expression or
statement block that evaluates to any term. All produced categories are
printed at the end of testing (in case no test fails) along with the
percentage of test cases belonging to each category. Multiple collect
wrappers are allowed in a single property, in which case the percentages for
each collect
wrapper are printed separately.
Specs
collect(test(), stats_printer(), any()) :: test()
Same as collect/2
, but also accepts a fun printer
to be used
as the stats printer.