package speed

  1. Overview
  2. Docs
type test_result
type 'a test_function = 'a test_input -> test_result
type 'a example = {
  1. name : string;
  2. focus : bool;
  3. metadata : Metadata.t list;
  4. f : 'a test_function;
}
type 'a t = {
  1. name : string option;
  2. child_groups : 'a child_suite list;
  3. metadata : Metadata.t list;
  4. examples : 'a example list;
  5. has_focused : bool;
}
and 'a child_suite =
  1. | Child : {
    1. child : 'b t;
    2. setup : 'a test_input -> 'b;
    } -> 'a child_suite
  2. | Context : {
    1. child : 'a t;
    } -> 'a child_suite
OCaml

Innovation. Community. Security.