Debian Codegraph @

test-suite/unit-tests/src/utest.mli

raw symbols SCIP
1 (** give a name to a unit test *)
2 val mk_test : string -> OUnit.test -> OUnit.test
3
4 (** simple ways to build a test *)
5 val mk_eq_test : string -> string -> 'a -> 'a -> OUnit.test
6 val mk_bool_test : string -> string -> bool -> OUnit.test
7
8 (** run unit tests *)
9 (* the string argument should be the name of the .ml file
10 containing the tests; use __FILE__ for that purpose.
11 *)
12 val run_tests : string -> out_channel -> OUnit.test list -> unit
13
14 (** open output channel for the test log file *)
15 (* the string argument should be the name of the .ml file
16 containing the tests; use __FILE__ for that purpose.
17 *)
18 val open_log_out_ch : string -> out_channel