OUnit user guide : OUnitBracket

# Module OUnitBracket

    module OUnitBracket: sig .. end

    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