package ounit2

  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 seq_of_channel : Stdlib.in_channel -> char Stdlib.Seq.t
val assert_equal : ?ctxt:OUnitTest.ctxt -> ?cmp:('a -> 'a -> bool) -> ?printer:('b -> string) -> ?pp_diff:(Stdlib.Format.formatter -> ('c * 'd) -> unit) -> ?msg:string -> 'e -> 'f -> unit
val assert_command : ?exit_code:Unix.process_status -> ?sinput:char Stdlib.Seq.t -> ?foutput:(char Stdlib.Seq.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.