Module dicetest::stats[][src]

Expand description

Stats help to analyze repeated test runs.

For any key you can count the occurrences of its values. Use it to reveal the distribution of generated test data or the probability of branches. Stats must enabled with the feature stats.

Structs

Contains the counters of different values with the same key.

Contains the stats for different keys.

Enums

A counter for occurrences of a value.

Functions

Returns the stats for the evaluation of the given function.

Returns if stats are currently enabled.

If stats are enabled, this function evaluates the given value and increments its counter for the given key. Otherwise this function is a noop.