package ounit

  1. Overview
  2. Docs
val skip_if : bool -> string -> unit
val todo : string -> 'a
val assert_failure : string -> 'a
val assert_bool : string -> bool -> unit
val assert_string : string -> unit
val assert_equal : ?ctxt:OUnitTest.ctxt -> ?cmp:('a -> 'a -> bool) -> ?printer:('b -> string) -> ?pp_diff:(Format.formatter -> ('c * 'd) -> unit) -> ?msg:string -> 'e -> 'f -> unit
val assert_command : ?exit_code:Unix.process_status -> ?sinput:char Stream.t -> ?foutput:(char Stream.t -> unit) -> ?use_stderr:bool -> ?backtrace:bool -> ?chdir:string -> ?env:string array -> ctxt:OUnitTest.ctxt -> string -> string list -> unit
val raises : (unit -> 'a) -> exn option
val assert_raises : ?msg:string -> exn -> (unit -> 'a) -> unit
OCaml

Innovation. Community. Security.