QCheck.TestResultResult of running a test
type 'a counter_ex = 'a QCheck2.TestResult.counter_ex = {instance : 'a; | (* The counter-example(s) *) |
shrink_steps : int; | (* How many shrinking steps for this counterex *) |
msg_l : string list; | (* messages. *) |
}type 'a failed_state = 'a counter_ex listtype 'a state = 'a QCheck2.TestResult.state = | Success | ||||
| Failed of {
} | ||||
| Failed_other of {
} | ||||
| Error of {
} | (* Error, backtrace, and instance that triggered it *) |
Result state. changed in 0.10 (move to inline records, add Fail_other)
type 'a t = 'a QCheck2.TestResult.tval get_count : _ t -> intGet the count of a cell.
val get_count_gen : _ t -> intval collect : _ t -> ( string, int ) Stdlib.Hashtbl.t optionObtain statistics
val warnings : _ t -> string listObtain list of warnings
val is_success : _ t -> boolReturns true iff the state if Success