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