package qcheck

  1. Overview
  2. Docs

Result of running a test

type 'a counter_ex = {
  1. instance : 'a;
    (*

    The counter-example(s)

    *)
  2. shrink_steps : int;
    (*

    How many shrinking steps for this counterex

    *)
}
type 'a failed_state = 'a counter_ex list
type 'a state =
  1. | Success
  2. | Failed of 'a failed_state
    (*

    Failed instances

    *)
  3. | Error of 'a counter_ex * exn
    (*

    Error, and instance that triggered it

    *)
type 'a t = {
  1. mutable state : 'a state;
  2. mutable count : int;
  3. mutable count_gen : int;
  4. collect_tbl : (string, int) Hashtbl.t lazy_t;
}
OCaml

Innovation. Community. Security.