package ounit2

  1. Overview
  2. Docs
OUnit testing framework

Install

Dune Dependency

Authors

Maintainers

Sources

ounit-v2.2.4.tbz
sha256=b5c069a5d957220ca0669e945f1e81e6b6db9622766d860913e136e1168e3345
sha512=d69dc501a360c31f7854322b5e2c2abcb1e43890737e1cc00c167ee104d5dee471b6b8d8186f8044b0482c91a8f15210a25d833a1e03ed7baabfba923815962f

doc/ounit2.advanced/OUnitResultSummary/index.html

Module OUnitResultSummarySource

Sourcetype log_entry = float * OUnitLogger.log_severity option * string
Sourcetype 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;
}
Sourcetype 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;
}
Sourceval is_success : OUnitTest.result -> bool
Sourceval is_failure : OUnitTest.result -> bool
Sourceval is_error : OUnitTest.result -> bool
Sourceval is_skip : OUnitTest.result -> bool
Sourceval is_todo : OUnitTest.result -> bool
Sourceval is_timeout : OUnitTest.result -> bool
Sourceval result_flavour : OUnitTest.result -> string
Sourceval result_msg : OUnitTest.result -> string
Sourceval worst_cmp : OUnitTest.result -> OUnitTest.result -> int
Sourceval worst_result_full : ('a * OUnitTest.result * 'b) -> ('a * OUnitTest.result * 'b) list -> ('a * OUnitTest.result * 'b) * ('a * OUnitTest.result * 'b) list
Sourceval was_successful : ('a * OUnitTest.result * 'b) list -> bool
Sourceval encoding : string OUnitConf.var
OCaml

Innovation. Community. Security.