OUnit user guide : OUnitAssert

# Module OUnitAssert

    module OUnitAssert: sig .. end

    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:('a -> string) ->
           ?pp_diff:(Format.formatter -> 'a * 'a -> unit) ->
           ?msg:string -> 'a -> 'a -> 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