package ounit

  1. Overview
  2. Docs
type log_entry = float * OUnitLogger.log_severity option * string
type test_data = {
  1. test_name : string;
  2. timestamp_start : float;
  3. timestamp_end : float;
  4. log_entries : log_entry list;
  5. test_result : OUnitTest.result;
}
type t = {
  1. suite_name : string;
  2. start_at : float;
  3. charset : string;
  4. conf : (string * string) list;
  5. running_time : float;
  6. global_results : OUnitTest.result_list;
  7. test_case_count : int;
  8. tests : test_data list;
  9. errors : int;
  10. failures : int;
  11. skips : int;
  12. todos : int;
  13. timeouts : int;
  14. successes : int;
}
val is_success : OUnitTest.result -> bool
val is_failure : OUnitTest.result -> bool
val is_error : OUnitTest.result -> bool
val is_skip : OUnitTest.result -> bool
val is_todo : OUnitTest.result -> bool
val is_timeout : OUnitTest.result -> bool
val result_flavour : OUnitTest.result -> string
val result_msg : OUnitTest.result -> string
val worst_cmp : OUnitTest.result -> OUnitTest.result -> int
val worst_result_full : ('a * OUnitTest.result * 'b) -> ('a * OUnitTest.result * 'b) list -> ('a * OUnitTest.result * 'b) * ('a * OUnitTest.result * 'b) list
val was_successful : ('a * OUnitTest.result * 'b) list -> bool
val encoding : (int, unit -> unit) Hashtbl.t -> string
val of_log_events : (int, unit -> unit) Hashtbl.t -> (OUnitTest.MapPath.key, OUnitTest.result) OUnitLogger.log_event list -> t
OCaml

Innovation. Community. Security.