package speed

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

Innovation. Community. Security.