package ounit2

  1. Overview
  2. Docs
OUnit testing framework

Install

Dune Dependency

Authors

Maintainers

Sources

ounit-v2.2.3.tbz
sha256=e280a64aa7df64bd7335c9ed68a70d6ee168b39ae8bbfb6daedd2f4a04844ad9
sha512=dff04859d263e5f80a1606156d07493d0320a2756d0a7f134c63c53078550c7b056587486922bc66a288413af30c59a7e47157636502c6dd10626cf75587f981

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.