package ounit2

  1. Overview
  2. Docs
type t = (unit -> unit) list
val create : (OUnitTest.ctxt -> 'a) -> ('a -> OUnitTest.ctxt -> unit) -> OUnitTest.ctxt -> 'a
val logf : ('a OUnitLogger.test_event -> 'b) -> OUnitLogger.log_severity -> ('c, unit, string, 'b) Stdlib.format4 -> 'c
val bracket_tmpfile : ?prefix:string -> ?suffix:string -> ?mode:Stdlib.open_flag list -> OUnitTest.ctxt -> string * Stdlib.out_channel
val bracket_tmpdir : ?prefix:string -> ?suffix:string -> OUnitTest.ctxt -> string
val chdir_mutex : int * OUnitShared.scope
val bracket_chdir : string -> OUnitTest.ctxt -> string
val with_bracket : OUnitTest.ctxt -> (OUnitTest.ctxt -> 'a) -> ('a -> OUnitTest.ctxt -> 'b) -> 'b
OCaml

Innovation. Community. Security.