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